Improve RxMode and MainOnly action

This commit is contained in:
Armel FAUVEAU
2024-06-12 04:28:17 +02:00
parent f1aab18c5c
commit f9f15df8d1
7 changed files with 42 additions and 10 deletions

View File

@@ -583,6 +583,13 @@ void MENU_AcceptSetting(void)
case MENU_TDR:
gEeprom.DUAL_WATCH = (gEeprom.TX_VFO + 1) * (gSubMenuSelection & 1);
gEeprom.CROSS_BAND_RX_TX = (gEeprom.TX_VFO + 1) * ((gSubMenuSelection & 2) > 0);
#ifdef ENABLE_FEAT_F4HWN
gDW = gEeprom.DUAL_WATCH;
gCB = gEeprom.CROSS_BAND_RX_TX;
gSaveRxMode = true;
#endif
gFlagReconfigureVfos = true;
gUpdateStatus = true;
break;