X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/e307431f908eedae321aa86565fd5e213d758216..99f4fcbee0b9774a24ef2428ddce71889e602e3b:/m17app/src/soundmodem.rs diff --git a/m17app/src/soundmodem.rs b/m17app/src/soundmodem.rs index c782d86..19a3dd5 100644 --- a/m17app/src/soundmodem.rs +++ b/m17app/src/soundmodem.rs @@ -234,7 +234,7 @@ fn spawn_soundmodem_worker( } SoundmodemEvent::BasebandInput(b) => { for sample in &*b { - if let Some(frame) = demodulator.demod(*sample) { + if let Some((frame, _)) = demodulator.demod(*sample) { tnc.handle_frame(frame); loop { let n = tnc.read_kiss(&mut buf);