From 75cd4417c7397bef71c656cff30bedf0a1bfa07f Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Sun, 21 Mar 2021 17:51:23 +0100 Subject: [PATCH] Restore squelch functionality after mute fix --- openrtx/src/rtx.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openrtx/src/rtx.c b/openrtx/src/rtx.c index 824f2821..c1670332 100644 --- a/openrtx/src/rtx.c +++ b/openrtx/src/rtx.c @@ -290,10 +290,12 @@ void rtx_taskFunc() sqlOpen = false; } #ifdef PLATFORM_MDUV380 - // Set output volume by changing the HR_C6000 DAC gain - _afSetVolume(); + if(sqlOpen == true) + { + // Set output volume by changing the HR_C6000 DAC gain + _afSetVolume(); + } #endif - } else if((rtxStatus.opMode == OFF) && enterRx) {