summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 22:06:35 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:58:16 +0000
commit78b71f867f3f2e620a4c3b64793839720c1210a3 (patch)
tree8522b631341a31cb2110f6d0c41baacc7e8a93ea /config
parentd03f80b8930f7f8ee9e26e6c5bef8ee8fc0e72f2 (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')
0 files changed, 0 insertions, 0 deletions