Forgotten }

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-20 23:09:39 +02:00
parent dccdc27b4b
commit 34eed40a18
+4 -1
View File
@@ -3036,7 +3036,7 @@ void ShowAdvancedRDS() {
sprite2.pushSprite(35, 150); sprite2.pushSprite(35, 150);
} }
} else { } else {
if (millis() - rtplusticker >= 50) if (millis() - rtplusticker >= 50) {
if (xPos4 == 0) { if (xPos4 == 0) {
if (millis() - rtplustickerhold >= 2000) { if (millis() - rtplustickerhold >= 2000) {
xPos4 --; xPos4 --;
@@ -3054,8 +3054,10 @@ void ShowAdvancedRDS() {
sprite2.pushSprite(35, 150); sprite2.pushSprite(35, 150);
rtplusticker = millis(); rtplusticker = millis();
} }
}
rtplusstringold = rtplusstring; rtplusstringold = rtplusstring;
if (TPold != radio.rds.hasTP) { if (TPold != radio.rds.hasTP) {
if (radio.rds.hasTP == true) tftPrint(-1, "TP", 6, 51, SecondaryColor, SecondaryColorSmooth, FONT16); else tftPrint(-1, "TP", 6, 51, GreyoutColor, BackgroundColor, FONT16); if (radio.rds.hasTP == true) tftPrint(-1, "TP", 6, 51, SecondaryColor, SecondaryColorSmooth, FONT16); else tftPrint(-1, "TP", 6, 51, GreyoutColor, BackgroundColor, FONT16);
TPold = radio.rds.hasTP; TPold = radio.rds.hasTP;
@@ -4284,6 +4286,7 @@ void ShowAdvancedRDS() {
} }
} }
} }
Squelchold = Squelch;
} }
void updateBW() { void updateBW() {