add loop breaker to test 2

This commit is contained in:
matt committed 2026-10-17 23:45:22 -07:00
1 parent 0b4bb35962
commit 44fa740532
2 files changed
+78 -47

No files matched your search

+1 -1
View File
@@ -291,7 +291,7 @@ def test(test_count = 0, bt_usb_id = None) -> None:
log.info(f" Scanning MACs: {mac_list}")
test_list = mac_list
while not test_result:
if test_count > 20:
if test_loop_count > 20:
reset_adapter()
reset_count = reset_count + 1
test_loop_count = 0