Fix miscellaneous bugs identified by Claude

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Allen Hill
2026-07-08 13:15:59 -07:00
parent cd11501074
commit 2ed6066609
10 changed files with 133 additions and 135 deletions
@@ -61,7 +61,7 @@ PCAP_GLOBAL_HEADER = struct.pack(
# Serial framing bytes emitted by AVCLAN_printframe(..., binary=1).
DLE = 0x10 # start of a binary frame
ETB = 0x17 # end of a binary frame (followed by \r\n)
ETB = 0x17 # end of a binary frame (followed by \n; CR tolerated, see below)
MAX_DATA_LEN = 32 # AVCLAN payload cap; longer "length" => bad framing
BAUD = 1_200_000