You've already forked TEF6686_ESP32
Fixed small issue with PS underscore
This commit is contained in:
@@ -1570,11 +1570,7 @@ void showPS() {
|
|||||||
if (underscore) {
|
if (underscore) {
|
||||||
char PS_[9];
|
char PS_[9];
|
||||||
strcpy (PS_, radio.rds.stationName);
|
strcpy (PS_, radio.rds.stationName);
|
||||||
for (int i = 0; i < 8; i++)
|
for (int i = 0; i < 8; i++) if (PS_[i] == 0x20) PS_[i] = '_';
|
||||||
{
|
|
||||||
if (PS_[i] < 0x10) PS_[i] = '0';
|
|
||||||
if (PS_[i] == 0x20) PS_[i] = '_';
|
|
||||||
}
|
|
||||||
tft.drawString(PS_, 38, 182, GFXFF);
|
tft.drawString(PS_, 38, 182, GFXFF);
|
||||||
PSold = PS_;
|
PSold = PS_;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user