Fixed syntax error in MD3x0 and UV3x0 radio drivers
This commit is contained in:
parent
6fd53d1917
commit
b58fbd6760
|
|
@ -300,7 +300,7 @@ void radio_enableTx()
|
||||||
|
|
||||||
gpio_setPin(TX_STG_EN); // Enable TX PA
|
gpio_setPin(TX_STG_EN); // Enable TX PA
|
||||||
|
|
||||||
if(config->opMode == FM && config->txToneEn == 1)
|
if(config->txToneEn == 1)
|
||||||
{
|
{
|
||||||
toneGen_toneOn(); // Enable CTSS
|
toneGen_toneOn(); // Enable CTSS
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@ void radio_enableTx()
|
||||||
|
|
||||||
gpio_setPin(PA_EN_2);
|
gpio_setPin(PA_EN_2);
|
||||||
|
|
||||||
if(config.opMode == FM && config->txToneEn)
|
if(config->txToneEn)
|
||||||
{
|
{
|
||||||
at1846s.enableTxCtcss(config->txTone);
|
at1846s.enableTxCtcss(config->txTone);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue