ble.py - found and corrected a history whoopsie
This commit is contained in:
1 parent
9a88a0eab6
commit
b0f9e82732
1 file changed
+1
-1
+1
-1
@@ -307,7 +307,7 @@ def test(test_count = 0, bt_usb_id = None) -> None:
|
|||||||
# List changed - reset mac_history
|
# List changed - reset mac_history
|
||||||
print("List changed - reset mac_history")
|
print("List changed - reset mac_history")
|
||||||
mac_history = []
|
mac_history = []
|
||||||
# mac_history.append(current_list)
|
mac_history.append(passed_list)
|
||||||
# if len(mac_history) == 5 and all(lst == mac_history[0] for lst in mac_history):
|
# if len(mac_history) == 5 and all(lst == mac_history[0] for lst in mac_history):
|
||||||
# log.warning(f"Last 5 tests have been identical, resetting adapter")
|
# log.warning(f"Last 5 tests have been identical, resetting adapter")
|
||||||
# reset_adapter()
|
# reset_adapter()
|
||||||
|
|||||||
Reference in new issue
Block a user