fixed incorrect logic in TX channel.

This commit is contained in:
Dual Tachyon 2023-08-13 22:29:18 +01:00
parent 155cf94578
commit af68a200f0

View File

@ -424,12 +424,12 @@ void RADIO_ConfigureTX(void)
{ {
if (gEeprom.CROSS_BAND_RX_TX == 2) { // == CHAN B if (gEeprom.CROSS_BAND_RX_TX == 2) { // == CHAN B
gEeprom.TX_CHANNEL = 1; gEeprom.TX_CHANNEL = 1;
} else if (gEeprom.CROSS_BAND_RX_TX == 1) { // != CHAN A } else if (gEeprom.CROSS_BAND_RX_TX == 1) { // == CHAN A
gEeprom.TX_CHANNEL = 0; gEeprom.TX_CHANNEL = 0;
} else if (gEeprom.DUAL_WATCH == 2) { // == CHAN B } else if (gEeprom.DUAL_WATCH == 2) { // == CHAN B
gEeprom.TX_CHANNEL = 0;
} else if (gEeprom.DUAL_WATCH == 1) { // == CHAN A
gEeprom.TX_CHANNEL = 1; gEeprom.TX_CHANNEL = 1;
} else if (gEeprom.DUAL_WATCH == 1) { // == CHAN A
gEeprom.TX_CHANNEL = 0;
} }
gTxRadioInfo = &gEeprom.RadioInfo[gEeprom.TX_CHANNEL]; gTxRadioInfo = &gEeprom.RadioInfo[gEeprom.TX_CHANNEL];