Fixed small issue with PS underscore

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-06-08 23:37:47 +02:00
parent 35f44b94af
commit 3d23e59b6f

View File

@@ -1570,11 +1570,7 @@ void showPS() {
if (underscore) {
char PS_[9];
strcpy (PS_, radio.rds.stationName);
for (int i = 0; i < 8; i++)
{
if (PS_[i] < 0x10) PS_[i] = '0';
if (PS_[i] == 0x20) PS_[i] = '_';
}
for (int i = 0; i < 8; i++) if (PS_[i] == 0x20) PS_[i] = '_';
tft.drawString(PS_, 38, 182, GFXFF);
PSold = PS_;
} else {