mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
spkmodem-decode: don't dump learn_samples in silence check
oops Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user