From 73bd332619ef876a0b847dfc7c01f6eabee18a71 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 26 Dec 2015 21:30:30 +0100 Subject: [PATCH] AM demod: make squelch tail twice faster as attack --- plugins/channel/am/amdemod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channel/am/amdemod.cpp b/plugins/channel/am/amdemod.cpp index 8c8af3c27..54fe75e28 100644 --- a/plugins/channel/am/amdemod.cpp +++ b/plugins/channel/am/amdemod.cpp @@ -95,9 +95,9 @@ void AMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector } else { - if (m_squelchCount > 0) + if (m_squelchCount > 1) { - m_squelchCount--; + m_squelchCount -= 2; } }