Pre-commit fix

This commit is contained in:
Daniel 2024-01-17 20:51:59 +02:00
parent 3b8ec12ab8
commit 757e8d0b55

View file

@ -188,7 +188,8 @@ void update_values_leaf_battery() { /* This function maps all the values fetched
remaining_capacity_Wh = LB_Wh_Remaining;
LB_Power = ((LB_Total_Voltage2 * LB_Current2) / 4); //P = U * I (Both values are 0.5 per bit so the math is non-intuitive)
LB_Power =
((LB_Total_Voltage2 * LB_Current2) / 4); //P = U * I (Both values are 0.5 per bit so the math is non-intuitive)
stat_batt_power = convert2unsignedint16(LB_Power); //add sign if needed
//Update temperature readings. Method depends on which generation LEAF battery is used