From 5209131a853e7f5bc02c55384df2607d35f51967 Mon Sep 17 00:00:00 2001 From: Ole Date: Mon, 26 Aug 2024 20:11:43 +0200 Subject: [PATCH] Fix fetching individual cell voltage - formatting --- Software/src/battery/BMW-I3-BATTERY.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/src/battery/BMW-I3-BATTERY.cpp b/Software/src/battery/BMW-I3-BATTERY.cpp index 9539aa02..890ca46b 100644 --- a/Software/src/battery/BMW-I3-BATTERY.cpp +++ b/Software/src/battery/BMW-I3-BATTERY.cpp @@ -1158,7 +1158,7 @@ void send_can_battery() { if (current_cell_polled > 96) { datalayer.battery.info.number_of_cells = 97; cmdState = CELL_VOLTAGE_CELLNO_LAST; - } else { + } else { cmdState = CELL_VOLTAGE_CELLNO; BMW_6F4_CELL_VOLTAGE_CELLNO.data.u8[6] = current_cell_polled;