Skip to content

Commit

Permalink
Tesla: Fix temperature scaling USB print
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat committed Jan 28, 2024
1 parent 56be5f8 commit 9fd8ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Software/src/battery/TESLA-MODEL-3-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ void update_values_tesla_model_3_battery() { //This function maps all the value
Serial.print(", ");
print_int_with_units(" Max charge power: ", max_target_charge_power, "W");
Serial.println("");
print_int_with_units(" Max temperature: ", temperature_max, "C");
print_int_with_units(" Max temperature: ", (temperature_max * 0.1), "°C");
Serial.print(", ");
print_int_with_units(" Min temperature: ", temperature_min, "C");
print_int_with_units(" Min temperature: ", (temperature_min * 0.1), "°C");
Serial.println("");
#endif
}
Expand Down

0 comments on commit 9fd8ec9

Please sign in to comment.