NTC on PCB not used as battery temperature anymore

- MCU temperature was renamed to internal_temperature
- NTC at board edge senses temperatures far above battery / ambient temperature at high loads and is now ignored
- Battery temperature always assumed 25ÂC unless external sensor is detected
This commit is contained in:
Martin Jaeger
2019-10-31 11:22:03 +01:00
parent 5b4df98656
commit b0e265f3e9
12 changed files with 32 additions and 86 deletions
+2 -2
View File
@@ -106,11 +106,11 @@ void log_new_bat_temp_max()
TEST_ASSERT_EQUAL(45, log_data.bat_temp_max);
}
extern float mcu_temp;
extern float internal_temp;
void log_new_int_temp_max()
{
mcu_temp = 22;
internal_temp = 22;
log_update_min_max_values(&log_data);
TEST_ASSERT_EQUAL(22, log_data.int_temp_max);
}