Browse Source

[OVERTEMPRATURE_MONITOR] change condition for restarting ups

balbekova 1 year ago
parent
commit
b107740ef9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/monitor/ups_monitor.c

+ 1 - 1
modules/monitor/ups_monitor.c

@@ -1763,7 +1763,7 @@ void UPS_EPOMonitor(void)
 #ifdef OVERTEMPRATURE_MONITOR
 void UPS_OverTempratureMonitor(void)
 {
-    if(UPS.fault_type == 0x41 && UPS.Temp < 30) {
+    if(UPS.fault_type == 0x41 && UPS.Temp < 55) {
         UPScmd(ups_remote_turn_off);
         xTimerStart(UPSRestartTimer, 0);
         UPS.fault_type = 0;