Force deactivation of TX and RX tone squelch for operating modes different from FM

This commit is contained in:
Silvano Seva 2021-08-24 08:30:18 +02:00
parent c04ceb9a8d
commit 065c15fb72
1 changed files with 7 additions and 0 deletions

View File

@ -121,6 +121,13 @@ void rtx_taskFunc()
if(reconfigure)
{
// Force TX and RX tone squelch to off for OpModes different from FM.
if(rtxStatus.opMode != FM)
{
rtxStatus.txToneEn = 0;
rtxStatus.rxToneEn = 0;
}
/*
* Handle change of opMode:
* - deactivate current opMode and switch operating status to "OFF";