Browse Source

修复新协议低电量告警bug

lixioayao 5 years ago
parent
commit
7c615fa1d0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      card_person.cpp

+ 2 - 0
card_person.cpp

@@ -255,6 +255,8 @@ void person::handle_message(uint16_t ct,uint8_t &value)
             if(v>0)m_card_generation=2;
             else m_card_generation=1;
         }
+        //没判定结果之前使用之前的状态
+        value=m_pwr_stat; 
         return;
     }
     //老卡