Hotfix: When starting the FM DX scanner from the menu, the screen was not building up properly.

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-06-15 12:44:10 +02:00
parent ca9dd47e25
commit d4ec70720d
2 changed files with 4 additions and 4 deletions

View File

@@ -4507,8 +4507,9 @@ void endMenu() {
}
void startFMDXScan() {
menu = false;
initdxscan = true;
if (menu) endMenu();
if (afscreen || advancedRDS) BuildDisplay();
if (memorypos > scanstop || memorypos < scanstart) memorypos = scanstart;
@@ -4520,7 +4521,6 @@ void startFMDXScan() {
band = presets[memorypos].band;
SelectBand();
}
if (menu) endMenu();
DoMemoryPosTune();
} else {
tunemode = TUNE_MAN;
@@ -4528,7 +4528,6 @@ void startFMDXScan() {
band = presets[memorypos].band;
SelectBand();
}
if (menu) endMenu();
TuneUp();
ShowFreq(0);
}
@@ -4540,6 +4539,7 @@ void startFMDXScan() {
}
scantimer = millis();
scandxmode = true;
ShowTuneMode();
if (XDRGTKUSB || XDRGTKTCP) DataPrint("J1\n");
}

View File

@@ -1,7 +1,7 @@
#ifndef LANGUAGE_H
#define LANGUAGE_H
#define VERSION "v2.10"
#define VERSION "v2.11"
// [number of languages][number of texts]