mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
spkmodem-decode: don't select sep tone on bad signal
otherwise, calibration could collect garbage data. this improves noise mitigation. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -361,7 +361,7 @@ select_separator_tone(struct decoder_state *st)
|
||||
{
|
||||
int avg;
|
||||
|
||||
if (is_valid_signal(st))
|
||||
if (!is_valid_signal(st))
|
||||
return;
|
||||
|
||||
if (st->sep_samples >= 50 && st->freq_separator <= 0)
|
||||
|
||||
Reference in New Issue
Block a user