spkmodem-decode: don't dump learn_samples in silence check

oops

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-12 23:40:56 +00:00
parent a5d40166ce
commit 011c65ddf4
+2 -5
View File
@@ -487,11 +487,8 @@ auto_detect_tone(struct decoder_state *st)
static int
silent_signal(struct decoder_state *st)
{
if (st->freq_data > 2 || st->freq_separator > 2)
return 0;
st->learn_samples++;
return 1;
return (st->freq_data <= 2 &&
st->freq_separator <= 2);
}
/*