From 83698ad8bdd2472be431e036dff8a556bb7348f4 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 05:09:06 -0700 Subject: [PATCH] ble.py - a bit more history code back --- api/ble.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/ble.py b/api/ble.py index c4461ee..1cdfb5d 100644 --- a/api/ble.py +++ b/api/ble.py @@ -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()