diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-13 01:31:01 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:40 +0000 |
| commit | 1d0e44c23a11bd10255e36c5cf15e8817ff752e9 (patch) | |
| tree | 13d5942a8a9674f0b11e823759185bd9bf538b09 /util | |
| parent | a049f2df3956b48cf57cc412780c530af7c4c343 (diff) | |
util/spkmodem-decode: clarify frame count on check
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/spkmodem_decode/spkmodem-decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/spkmodem_decode/spkmodem-decode.c b/util/spkmodem_decode/spkmodem-decode.c index 348840ac..80a78f1f 100644 --- a/util/spkmodem_decode/spkmodem-decode.c +++ b/util/spkmodem_decode/spkmodem-decode.c @@ -330,8 +330,8 @@ handle_audio(struct decoder_state *st) int sample; /* - * If the modem signal disappears for several frames, - * discard the partially assembled character. + * If the modem signal disappears for several (read: 3) + * frames, discard the partially assembled character. */ if (st->sample_count >= (3 * SAMPLES_PER_FRAME)) reset_char(st); |
