[bug] short button
This commit is contained in:
parent
36f0b09852
commit
cb5836a9be
|
@ -82,7 +82,7 @@ class OrangePi(BaseHardware):
|
|||
else:
|
||||
self.short_power_status = True
|
||||
# print(f"{datetime.now()}: short_power_status: {self.short_power_status} {self.long_power_status}")
|
||||
print(f"{datetime.now()}: power_status: {self.long_power_status}, interrupt_status: {self.short_power_status}")
|
||||
print(f"{datetime.now()}: button_status: {button_status_1}, last_button_status: {last_status_1}, power_status: {self.long_power_status}, interrupt_status: {self.short_power_status}")
|
||||
press_time_1 = None
|
||||
|
||||
last_status_1 = button_status_1
|
||||
|
|
Loading…
Reference in New Issue