소스 검색

[OVERTEMPRATURE_MONITOR] change condition for restarting ups

balbekova 1 년 전
부모
커밋
b107740ef9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;