Fix where LIC was not refreshed

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-09-10 21:02:42 +02:00
parent 320c9c0780
commit 61eec6e1d5
+2 -2
View File
@@ -44,7 +44,7 @@ void ShowAdvancedRDS() {
rdsstereoold = radio.rds.hasStereo; rdsstereoold = radio.rds.hasStereo;
} }
if (ptynold != radio.rds.PTYN) { if (ptynold != radio.rds.PTYN || rdsreset) {
if (!screenmute) tftPrint(-1, "PTYN N/A", 216, 109, BackgroundColor, BackgroundColor, 16); if (!screenmute) tftPrint(-1, "PTYN N/A", 216, 109, BackgroundColor, BackgroundColor, 16);
if (!screenmute) tftPrint(-1, ptynold, 216, 109, BackgroundColor, BackgroundColor, 16); if (!screenmute) tftPrint(-1, ptynold, 216, 109, BackgroundColor, BackgroundColor, 16);
if (radio.rds.PTYN.length() == 0) radio.rds.PTYN = "PTYN N/A"; if (radio.rds.PTYN.length() == 0) radio.rds.PTYN = "PTYN N/A";
@@ -52,7 +52,7 @@ void ShowAdvancedRDS() {
ptynold = radio.rds.PTYN; ptynold = radio.rds.PTYN;
} }
if (licold != radio.rds.LIC) { if (licold != radio.rds.LIC || rdsreset) {
if (!screenmute) tftPrint(-1, "N/A", 242, 208, BackgroundColor, BackgroundColor, 16); if (!screenmute) tftPrint(-1, "N/A", 242, 208, BackgroundColor, BackgroundColor, 16);
if (!screenmute) tftPrint(-1, LIColdString, 242, 208, BackgroundColor, BackgroundColor, 16); if (!screenmute) tftPrint(-1, LIColdString, 242, 208, BackgroundColor, BackgroundColor, 16);