Fix broken split BLE
This commit is contained in:
parent
55a75cb9b3
commit
d47143463b
@ -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'''
|
||||||
|
Loading…
Reference in New Issue
Block a user