Browse Source

Merge branch 'master' of http://jiecheng2024.tpddns.cn:3000/liyuezong/SmartPDCode

guohui 2 years ago
parent
commit
f30bc70bf6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pro/src/switch_ctrl.c

+ 1 - 1
pro/src/switch_ctrl.c

@@ -842,7 +842,7 @@ int g_switch_set_all_chn_ctrl(void* manger,GlobalPowerManger* _globalPowerManger
             {
                 if (/*sts == 1&&*/_globalTACManager->product_ph_outputStatus==1)
                 {
-                    phsts=1;
+                    phsts=sts;
                     if (_globalTACManager->global_over_manager->product_vol_upper_enable == 1)
                         phsts |= ENABLE_TAC_V_UP;
                     if (_globalTACManager->global_over_manager->product_vol_lower_enable == 1)