Fix RX mode restore after Close Call (Issue #478)

This commit is contained in:
Armel FAUVEAU committed 2026-08-01 16:14:08 +02:00
1 parent 2569e4649d
commit 4799eb46ac
1 file changed
+6
+6
View File
@@ -225,6 +225,12 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
case KEY_4:
HideFKeyIcon();
if (gScanStateDir != SCAN_OFF) {
// Stop the channel/frequency scan before saving the RX mode for Close Call.
gScanKeepResult = false;
CHFRSCANNER_Stop();
}
gBackup_CROSS_BAND_RX_TX = gEeprom.CROSS_BAND_RX_TX;
gEeprom.CROSS_BAND_RX_TX = CROSS_BAND_OFF;