kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fixed syntax error in MD3x0 and UV3x0 radio drivers
rodzic
6fd53d1917
commit
b58fbd6760
|
@ -300,7 +300,7 @@ void radio_enableTx()
|
|||
|
||||
gpio_setPin(TX_STG_EN); // Enable TX PA
|
||||
|
||||
if(config->opMode == FM && config->txToneEn == 1)
|
||||
if(config->txToneEn == 1)
|
||||
{
|
||||
toneGen_toneOn(); // Enable CTSS
|
||||
}
|
||||
|
|
|
@ -222,7 +222,7 @@ void radio_enableTx()
|
|||
|
||||
gpio_setPin(PA_EN_2);
|
||||
|
||||
if(config.opMode == FM && config->txToneEn)
|
||||
if(config->txToneEn)
|
||||
{
|
||||
at1846s.enableTxCtcss(config->txTone);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue