From d826cbd138b3887ff749de740dfebe3a1200ec27 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Mon, 9 Mar 2026 01:02:19 +0100 Subject: [PATCH] Reduce the lag between consecutive RX on both frequencies under DW mode (issue #198) --- App/app/app.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/App/app/app.c b/App/app/app.c index ba58eb13..5062cc77 100644 --- a/App/app/app.c +++ b/App/app/app.c @@ -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