X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/1a444762d8fd7d48e4f56a87c6bd77f837522d5d..6440cd74346c4b2d63d4774476e8c6113c032534:/m17core/src/tnc.rs?ds=inline diff --git a/m17core/src/tnc.rs b/m17core/src/tnc.rs index 93a4363..8965499 100644 --- a/m17core/src/tnc.rs +++ b/m17core/src/tnc.rs @@ -102,6 +102,10 @@ impl SoftTnc { /// Process an individual `Frame` that has been decoded by the modem. pub fn handle_frame(&mut self, frame: Frame) { + if self.ptt { + // Ignore self-decodes + return; + } match frame { Frame::Lsf(lsf) => { // A new LSF implies a clean slate.