Fix broken split BLE

This commit is contained in:
tonasz 2022-02-18 12:15:33 +01:00 committed by Kyle Brown
parent 55a75cb9b3
commit d47143463b

View File

@ -274,7 +274,7 @@ class Split(Module):
def ble_rescan_timer(self): def ble_rescan_timer(self):
'''If true, the rescan timer is up''' '''If true, the rescan timer is up'''
return bool(check_deadline(ticks_ms(), self._ble_last_scan) > 5000) return not bool(check_deadline(ticks_ms(), self._ble_last_scan, 5000))
def ble_time_reset(self): def ble_time_reset(self):
'''Resets the rescan timer''' '''Resets the rescan timer'''