ble.py - a bit more history code back

This commit is contained in:
matt committed 2026-10-18 05:09:06 -07:00
1 parent f14f077b96
commit 83698ad8bd
1 file changed
+5 -5
+5 -5
View File
@@ -303,11 +303,11 @@ def test(test_count = 0, bt_usb_id = None) -> None:
# List unchanged - add to history
print("List unchanged - add to history")
history.append(passed_list)
# else:
# # List changed - reset history
# print("List changed - reset history")
# history = []
# history.append(current_list)
else:
# List changed - reset history
print("List changed - reset history")
history = []
history.append(current_list)
# if len(history) == 5 and all(lst == history[0] for lst in history):
# log.warning(f"Last 5 tests have been identical, resetting adapter")
# reset_adapter()