Fixed stereo indicator in AF screen

Changed forced mono outputstring for XDRGTK
This commit is contained in:
Sjef Verhoeven PE5PVB
2024-02-12 19:13:15 +01:00
parent 58502a4e8b
commit 388231a4b4
2 changed files with 10 additions and 6 deletions
+8 -4
View File
@@ -990,13 +990,16 @@ void loop() {
} }
void GetData() { void GetData() {
if (!afscreen) showCT(); if (!afscreen) {
showCT();
ShowSignalLevel();
}
if (band < BAND_GAP && !menu) { if (band < BAND_GAP && !menu) {
if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS(); if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS();
if (afscreen && !screenmute) ShowAFEON(); if (afscreen && !screenmute) ShowAFEON();
if (!afscreen) { if (!afscreen) {
ShowErrors(); ShowErrors();
ShowStereoStatus();
showPTY(); showPTY();
showECC(); showECC();
showRadioText(); showRadioText();
@@ -1005,14 +1008,15 @@ void GetData() {
showPI(); showPI();
showPS(); showPS();
} }
if (!screenmute) { if (!screenmute) {
ShowRSSI(); ShowRSSI();
if (millis() >= tuningtimer + 200) ShowBattery();
ShowOffset(); ShowOffset();
ShowStereoStatus();
ShowBW(); ShowBW();
updateCodetect(); updateCodetect();
if (millis() >= tuningtimer + 200) ShowBattery();
} }
if (!afscreen) ShowSignalLevel();
} }
void WakeToSleep(bool yes) { void WakeToSleep(bool yes) {
+2 -2
View File
@@ -551,14 +551,14 @@ void XDRGTKRoutine() {
if (millis() >= signalstatustimer + 66) { if (millis() >= signalstatustimer + 66) {
if (band > BAND_GAP) { if (band > BAND_GAP) {
DataPrint("Sm"); DataPrint("SM");
} else { } else {
if (!StereoToggle) { if (!StereoToggle) {
DataPrint("SS"); DataPrint("SS");
} else if (Stereostatus) { } else if (Stereostatus) {
DataPrint("Ss"); DataPrint("Ss");
} else { } else {
DataPrint("Sm"); DataPrint("SM");
} }
} }