Fix value so its human readable

This commit is contained in:
Daniel Öster 2024-02-07 12:23:35 +02:00 committed by GitHub
parent 7324ac8def
commit 4e1ecfaad2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -394,8 +394,8 @@ void update_values_leaf_battery() { /* This function maps all the values fetched
print_with_units(", Voltage: ", (battery_voltage * 0.1), "V ");
print_with_units(", Max discharge power: ", max_target_discharge_power, "W ");
print_with_units(", Max charge power: ", max_target_charge_power, "W ");
print_with_units(", Max temp: ", (temperature_max * 0.1), "°C ");
print_with_units(", Min temp: ", (temperature_min * 0.1), "°C ");
print_with_units(", Max temp: ", ((int16_t)temperature_max * 0.1), "°C ");
print_with_units(", Min temp: ", ((int16_t)temperature_min * 0.1), "°C ");
Serial.println("");
Serial.print("BMS Status: ");
if (bms_status == 3) {