mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
Dual-RX and T-VFO mimics the original firmware (TDR) and (WX).
This commit is contained in:
parent
abce2921f7
commit
fd3df27afe
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
14
radio.c
14
radio.c
@ -944,15 +944,23 @@ void RADIO_PrepareTX(void)
|
|||||||
gDualWatchCountdown_10ms = dual_watch_count_after_tx_10ms;
|
gDualWatchCountdown_10ms = dual_watch_count_after_tx_10ms;
|
||||||
gScheduleDualWatch = false;
|
gScheduleDualWatch = false;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (gRxVfoIsActive)
|
if (gRxVfoIsActive)
|
||||||
{ // use the TX vfo
|
{ // use the TX vfo
|
||||||
gEeprom.RX_VFO = gEeprom.TX_VFO;
|
gEeprom.RX_VFO = gEeprom.TX_VFO;
|
||||||
gRxVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
|
gRxVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
|
||||||
// gRxVfoIsActive = true;
|
|
||||||
gRxVfoIsActive = false;
|
gRxVfoIsActive = false;
|
||||||
}
|
}
|
||||||
|
gCurrentVfo = gRxVfo;
|
||||||
gCurrentVfo = &gEeprom.VfoInfo[gEeprom.TX_VFO];
|
#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
|
// let the user see that DW is not active '><' symbol
|
||||||
gDualWatchActive = false;
|
gDualWatchActive = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user