revert: fix(anchor): serial reads are now non-blocking

This reverts commit fc2ba5f8d1.

reason: making serail reads non-blocking caused serial data issues
because sometimes it would exit before actually seeing a newline
This commit is contained in:
ryleu
2026-04-15 11:24:19 -05:00
parent fc2ba5f8d1
commit 333249677f

View File

@@ -123,7 +123,7 @@ class SerialConnector(Connector):
self.mcu_name = mcu_name self.mcu_name = mcu_name
# if we fail at this point, it should crash because we've already tested the port # if we fail at this point, it should crash because we've already tested the port
self.serial_interface = serial.Serial(self.port, BAUD_RATE, timeout=0) self.serial_interface = serial.Serial(self.port, BAUD_RATE, timeout=1)
def _find_ports(self) -> list[str]: def _find_ports(self) -> list[str]:
""" """