Update power.py

This commit is contained in:
regicidal.plutophage 2023-03-01 05:55:03 +03:00 committed by xs5871
parent 18687e5278
commit 013046b44d

View File

@ -123,7 +123,7 @@ class Power(Module):
return return
def usb_rescan_timer(self): def usb_rescan_timer(self):
return bool(check_deadline(ticks_ms(), self._usb_last_scan, 5000) == False) return bool(check_deadline(ticks_ms(), self._usb_last_scan, 5000) is False)
def usb_time_reset(self): def usb_time_reset(self):
self._usb_last_scan = ticks_ms() self._usb_last_scan = ticks_ms()