On MD-UV3x0 force silencing of HR_C6000 audio output when in M17 RX to avoid spillover of baseband signal towards the speaker.
This commit is contained in:
parent
4d4ebae2f3
commit
2dc0106380
|
|
@ -153,6 +153,18 @@ void radio_enableRx()
|
||||||
at1846s.setFrequency(config->rxFrequency);
|
at1846s.setFrequency(config->rxFrequency);
|
||||||
at1846s.setFuncMode(AT1846S_FuncMode::RX);
|
at1846s.setFuncMode(AT1846S_FuncMode::RX);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Force silencing of audio output when RX is enabled with M17 operating
|
||||||
|
* mode selected. Avoids the spillover of baseband signal towards the
|
||||||
|
* speaker.
|
||||||
|
*
|
||||||
|
* TODO: improve this solution.
|
||||||
|
*/
|
||||||
|
if(config->opMode == OPMODE_M17)
|
||||||
|
{
|
||||||
|
C6000.writeCfgRegister(0xE0, 0x00);
|
||||||
|
}
|
||||||
|
|
||||||
if(currRxBand == BND_VHF)
|
if(currRxBand == BND_VHF)
|
||||||
{
|
{
|
||||||
gpio_setPin(VHF_LNA_EN);
|
gpio_setPin(VHF_LNA_EN);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue