0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Dual-RX and T-VFO mimics the original firmware (TDR) and (WX).

This commit is contained in:
OneOfEleven
2023-10-07 00:23:00 +01:00
parent abce2921f7
commit fd3df27afe
4 changed files with 13 additions and 5 deletions

16
radio.c
View File

@ -944,16 +944,24 @@ void RADIO_PrepareTX(void)
gDualWatchCountdown_10ms = dual_watch_count_after_tx_10ms;
gScheduleDualWatch = false;
#if 0
if (gRxVfoIsActive)
{ // use the TX vfo
gEeprom.RX_VFO = gEeprom.TX_VFO;
gRxVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
// gRxVfoIsActive = true;
gRxVfoIsActive = false;
}
gCurrentVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
gCurrentVfo = gRxVfo;
#else
if (!gRxVfoIsActive)
{ // use the current RX vfo
gEeprom.RX_VFO = gEeprom.TX_VFO;
gRxVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
gRxVfoIsActive = true;
}
gCurrentVfo = gRxVfo;
#endif
// let the user see that DW is not active '><' symbol
gDualWatchActive = false;
gUpdateStatus = true;