From 81f0ed5c81b96e8b6305ceca35059b6cc4d0427c Mon Sep 17 00:00:00 2001 From: MCelliotG Date: Sun, 31 Dec 2023 01:05:37 +0200 Subject: [PATCH] Update rds.cpp --- src/rds.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rds.cpp b/src/rds.cpp index 73ac446..613ce67 100644 --- a/src/rds.cpp +++ b/src/rds.cpp @@ -804,12 +804,12 @@ void ShowAFEON() { xPos --; rttickerhold = millis(); } - if (xPos < -tft.textWidth(String(myLanguage[language][93]) + " - " + String(myLanguage[language][204]) + ": " + AIDString) + (charWidth * 14)) xPos = 0; + if (xPos < -tft.textWidth(String(myLanguage[language][93]) + " - " + String(myLanguage[language][79]) + ": " + AIDString) + (charWidth * 14)) xPos = 0; RadiotextSprite.fillSprite(BackgroundColor); RadiotextSprite.setTextColor(ActiveColor, ActiveColorSmooth, false); - RadiotextSprite.drawString(String(myLanguage[language][93]) + " - " + String(myLanguage[language][204]) + ": " + AIDString, xPos, 2); + RadiotextSprite.drawString(String(myLanguage[language][93]) + " - " + String(myLanguage[language][79]) + ": " + AIDString, xPos, 2); RadiotextSprite.pushSprite(5, 220); } } } -#pragma GCC diagnostic pop \ No newline at end of file +#pragma GCC diagnostic pop