From 6cb0b791e862e97fddd3a94f49c5415af857eb81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96ster?= Date: Sat, 10 Feb 2024 20:43:02 +0200 Subject: [PATCH] Fix battery voltage on Kangoo --- Software/src/battery/RENAULT-KANGOO-BATTERY.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp b/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp index 47ab1f64b..2eddc0578 100644 --- a/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp +++ b/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp @@ -235,7 +235,7 @@ void receive_can_kangoo_battery(CAN_frame_t rx_frame) //GKOE reworked } if (rx_frame.data.u8[0] == 0x24) { //5th response Bytes 24-31 LB_Discharge_Power_Limit = word(LB_Discharge_Power_Limit_Byte1, rx_frame.data.u8[1]) * 100; //OK! - LB_Battery_Voltage = word(rx_frame.data.u8[2], rx_frame.data.u8[3]) * 10; //OK! + LB_Battery_Voltage = word(rx_frame.data.u8[2], rx_frame.data.u8[3]) / 10; //OK! GVB_79B_Continue = false; } break;