summaryrefslogtreecommitdiff
path: root/config/git/stm32-vserprog
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 22:06:35 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 22:16:23 +0000
commit569660ada9383b3ba1119b212f3200e7e1876539 (patch)
treee9d1b51fe83b1309e9c5caf1657d3e4080a94da1 /config/git/stm32-vserprog
parent606c452bd88d8637febecdcd5106fbe8740b36f1 (diff)
util/spkmodem-decode: automatic tone calibration
current logic is hardcoded, as in the original spkmodem-recv. with this change, small differences are observed and averaged, then the detection thresholds are adjusted accordingly. the existing macros serve as a baseline, but real signals differ. with this change, we therefore account for possible drift in timings, which can change in real-time; the old code could possibly get out of sync beccause of that, which may have resulted in corrupt characters on the screen. this change therefore should make the output a bit more stable. the detection window is continually adjusted, so that the output timings don't drift. the tolerances are automatically adjusted based on base timings (see new define in patch) Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/git/stm32-vserprog')
0 files changed, 0 insertions, 0 deletions