mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
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:
parent
9a898b72e2
commit
38c88e78f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue