0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 06:11:24 +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

Binary file not shown.

Binary file not shown.

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;

View File

@ -199,7 +199,7 @@ const char gSubMenu_CHAN[3][10] =
const char gSubMenu_XB[3][10] =
{
"MAIN\nVFO",
"RX\nVFO",
"UPPER\nVFO",
"LOWER\nVFO"
};