feat(core): migrate to src/ package layout and refactor serial transport

Bootstrap PySide6 using a clean src/ layout and refactor stream_reader to parse binary data packets asynchronously.
This commit is contained in:
jack
2026-06-25 13:46:54 -07:00
parent 62ce5a9c37
commit 470f8acba3
3 changed files with 4 additions and 9 deletions
+2 -3
View File
@@ -184,9 +184,8 @@ class StreamReader:
# Sync marker appeared hand off to binary parser.
hex_chars.append(byte)
break
c = chr(byte)
if c in "0123456789ABCDEFabcdef":
hex_chars.append(c)
if chr(byte) in "0123456789ABCDEFabcdef":
hex_chars.append(byte)
else:
continue
break # broke out of inner loop due to 0xAA