Update CPU temperature setpoint

Raised the CPU temperature warning from 80 to 87deg to cut down on false positive warnings
This commit is contained in:
Daniel Öster 2025-08-17 12:40:15 +03:00 committed by GitHub
parent 9a898b72e2
commit 38c88e78f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ void update_machineryprotection() {
/* Check if the ESP32 CPU running the Battery-Emulator is too hot. /* Check if the ESP32 CPU running the Battery-Emulator is too hot.
We start with a warning, you can start to see Wifi issues if it becomes too hot We start with a warning, you can start to see Wifi issues if it becomes too hot
If the chip starts to approach the design limit, we perform a graceful shutdown */ If the chip starts to approach the design limit, we perform a graceful shutdown */
if (datalayer.system.info.CPU_temperature > 80.0f) { if (datalayer.system.info.CPU_temperature > 87.0f) {
set_event(EVENT_CPU_OVERHEATING, 0); set_event(EVENT_CPU_OVERHEATING, 0);
} else { } else {
clear_event(EVENT_CPU_OVERHEATING); clear_event(EVENT_CPU_OVERHEATING);