Skip to content

Commit

Permalink
Formatting2
Browse files Browse the repository at this point in the history
  • Loading branch information
odlg committed May 12, 2024
1 parent 5b75d4a commit 2d8e974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/src/battery/BMW-I3-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ void update_values_battery() { //This function maps all the values fetched via
// Start checking safeties. First up, cellvoltages!
if (battery_cell_deviation_mV > MAX_CELL_DEVIATION_MV) {
uint8_t report_value = 0;
if (battery_cell_deviation_mV <= 20*254) {
if (battery_cell_deviation_mV <= 20 * 254) {
report_value = battery_cell_deviation_mV / 20;
} else {
report_value = 255;
Expand Down

0 comments on commit 2d8e974

Please sign in to comment.