util/spkmodem-decode: clarify frame count on check

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-13 01:31:01 +00:00
parent a049f2df39
commit 1d0e44c23a
+2 -2
View File
@@ -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);