From 9fd8ec90c46e5f9a719872d6b95f128b4e162a3a Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 28 Jan 2024 11:12:19 +0200 Subject: [PATCH] Tesla: Fix temperature scaling USB print --- Software/src/battery/TESLA-MODEL-3-BATTERY.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp index 3ade7b47..62256dc5 100644 --- a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp +++ b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp @@ -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 }