Increase decimal on Amperage

This commit is contained in:
Daniel 2023-11-13 21:28:31 +02:00
parent 8bab9c5386
commit e519baf2f3

View file

@ -177,7 +177,7 @@ void update_values_tesla_model_3_battery() { //This function maps all the value
battery_voltage = (volts * 10); //One more decimal needed (370 -> 3700)
battery_current = amps; //TODO, this needs verifying if scaling is right
battery_current = (amps * 10); //Increase decimal (13A -> 13.0A)
capacity_Wh = (nominal_full_pack_energy * 100); //Scale up 75.2kWh -> 75200Wh
if (capacity_Wh > 60000) {