mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +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
|
static int
|
||||||
silent_signal(struct decoder_state *st)
|
silent_signal(struct decoder_state *st)
|
||||||
{
|
{
|
||||||
if (st->freq_data > 2 || st->freq_separator > 2)
|
return (st->freq_data <= 2 &&
|
||||||
return 0;
|
st->freq_separator <= 2);
|
||||||
|
|
||||||
st->learn_samples++;
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user