mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-23 19:15:00 +02:00
Fix a couple of minor bugs.
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ uint8_t CFMNoiseSquelch::process(q15_t sample)
|
||||
threshold = m_lowThreshold;
|
||||
|
||||
m_result |= NS_READY;
|
||||
if (value >= threshold)
|
||||
if (value < threshold)
|
||||
m_result |= NS_VALID;
|
||||
else
|
||||
m_result &= ~NS_VALID;
|
||||
|
||||
Reference in New Issue
Block a user