Merge branch 'master' of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/ASR1603_G5
authordxy15521469561 <1731678236@qq.com>
Thu, 13 Jul 2023 07:18:35 +0000 (15:18 +0800)
committerdxy15521469561 <1731678236@qq.com>
Thu, 13 Jul 2023 07:18:35 +0000 (15:18 +0800)
1  2 
2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/btn_device_ec800m.py

@@@ -13,9 -13,13 +13,13 @@@ class BtnDevice(Abstract)
          self.__pwk_timer = osTimer()
  
          self.keypad = machine.KeyPad(4, 1)
 -        self.__PowerDownTimeOut = 4000
 +        self.__PowerDownTimeOut = 3000
          self.__tp = tp
-         self.long_press = 0
+         self.pwk_press = 0
+         self.pwk_count = 0
+         self.GPIO26_status = 0
+         self.powerKey_status = 0
+         self.pin_timer = osTimer()
  
      def post_processor_after_instantiation(self):
          self.keypad.init()