mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Reduce the lag between consecutive RX on both frequencies under DW mode (issue #198)
This commit is contained in:
1 parent
5293a8526d
commit
d826cbd138
1 file changed
+11
-1
+11
-1
@@ -535,7 +535,17 @@ void APP_StartListening(FUNCTION_Type_t function)
|
||||
gEeprom.DUAL_WATCH != DUAL_WATCH_OFF)
|
||||
{ // not scanning, dual watch is enabled
|
||||
|
||||
gDualWatchCountdown_10ms = dual_watch_count_after_2_10ms;
|
||||
//gDualWatchCountdown_10ms = dual_watch_count_after_2_10ms;
|
||||
|
||||
const bool isMainTxDualRx =
|
||||
(gEeprom.DUAL_WATCH != DUAL_WATCH_OFF) &&
|
||||
(gEeprom.CROSS_BAND_RX_TX != CROSS_BAND_OFF);
|
||||
|
||||
// Use a short hold only for MAIN TX DUAL RX, keep legacy hold otherwise
|
||||
gDualWatchCountdown_10ms = isMainTxDualRx
|
||||
? dual_watch_count_after_2_10ms / 4 // Short timer = 420 / 4 ...
|
||||
: dual_watch_count_after_2_10ms;
|
||||
|
||||
gScheduleDualWatch = false;
|
||||
|
||||
// when crossband is active only the main VFO should be used for TX
|
||||
|
||||
Reference in new issue
Block a user