From 80528ff39e236ae2c69b88512fa0441520e69a1b Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 25 Nov 2025 17:57:14 -0700 Subject: [PATCH] Make more sane search --- controller_uart_bridge.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/controller_uart_bridge.py b/controller_uart_bridge.py index b630217..e48f166 100644 --- a/controller_uart_bridge.py +++ b/controller_uart_bridge.py @@ -112,10 +112,6 @@ def is_usb_serial(path: str) -> bool: ) if lower.startswith(usb_prefixes): return True - if "usb" in lower: - return True - if lower.startswith(("/dev/tty", "/dev/cu", "com")): - return False # Default to False for unknown paths; caller can include_non_usb to override. return False