mirror of
https://github.com/D-Modem/hardware.git
synced 2026-11-28 17:48:05 -08:00
A rate too fast can split one character (a lone CR, as Enter sends on many terminals) into two "characters", which passed the 2-character rule: a lone CR locked onto the wrong rate in 80% of trials. Now the rate is chosen first, and the 2 characters are counted only at that rate, so one character waits. Tests: one-character cases (CR, LF, 0x55, 0xFF...) at every rate must not decide; CR LF and CR CR must lock and decode at every rate. Docs note that Enter (CR LF), or Enter twice on a CR-only terminal, is enough to learn the rate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8