Hotfix: When starting the FM DX scanner from the menu, the screen was not building up properly.
This commit is contained in:
+3
-3
@@ -4507,8 +4507,9 @@ void endMenu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void startFMDXScan() {
|
void startFMDXScan() {
|
||||||
menu = false;
|
|
||||||
initdxscan = true;
|
initdxscan = true;
|
||||||
|
|
||||||
|
if (menu) endMenu();
|
||||||
if (afscreen || advancedRDS) BuildDisplay();
|
if (afscreen || advancedRDS) BuildDisplay();
|
||||||
|
|
||||||
if (memorypos > scanstop || memorypos < scanstart) memorypos = scanstart;
|
if (memorypos > scanstop || memorypos < scanstart) memorypos = scanstart;
|
||||||
@@ -4520,7 +4521,6 @@ void startFMDXScan() {
|
|||||||
band = presets[memorypos].band;
|
band = presets[memorypos].band;
|
||||||
SelectBand();
|
SelectBand();
|
||||||
}
|
}
|
||||||
if (menu) endMenu();
|
|
||||||
DoMemoryPosTune();
|
DoMemoryPosTune();
|
||||||
} else {
|
} else {
|
||||||
tunemode = TUNE_MAN;
|
tunemode = TUNE_MAN;
|
||||||
@@ -4528,7 +4528,6 @@ void startFMDXScan() {
|
|||||||
band = presets[memorypos].band;
|
band = presets[memorypos].band;
|
||||||
SelectBand();
|
SelectBand();
|
||||||
}
|
}
|
||||||
if (menu) endMenu();
|
|
||||||
TuneUp();
|
TuneUp();
|
||||||
ShowFreq(0);
|
ShowFreq(0);
|
||||||
}
|
}
|
||||||
@@ -4540,6 +4539,7 @@ void startFMDXScan() {
|
|||||||
}
|
}
|
||||||
scantimer = millis();
|
scantimer = millis();
|
||||||
scandxmode = true;
|
scandxmode = true;
|
||||||
|
ShowTuneMode();
|
||||||
if (XDRGTKUSB || XDRGTKTCP) DataPrint("J1\n");
|
if (XDRGTKUSB || XDRGTKTCP) DataPrint("J1\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#ifndef LANGUAGE_H
|
#ifndef LANGUAGE_H
|
||||||
#define LANGUAGE_H
|
#define LANGUAGE_H
|
||||||
|
|
||||||
#define VERSION "v2.10"
|
#define VERSION "v2.11"
|
||||||
|
|
||||||
// [number of languages][number of texts]
|
// [number of languages][number of texts]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user