sync ":" presence

This commit is contained in:
2026-01-04 20:24:29 +01:00
parent 6e7e684887
commit 22ec0a8c23
2 changed files with 26 additions and 26 deletions
+24 -24
View File
@@ -1222,14 +1222,14 @@ void loop() {
} }
} }
if (radio.rds.region == 0) { if (radio.rds.region == 0) {
tftPrint(ALEFT, "PI:", 212, 193, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 212, 193, ActiveColor, ActiveColorSmooth, 16);
} else { } else {
tftPrint(ALEFT, "PI:", 212, 184, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 212, 184, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "ID:", 212, 201, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "ID", 212, 201, ActiveColor, ActiveColorSmooth, 16);
} }
tftPrint(ALEFT, "PS:", 3, 193, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PS", 3, 193, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "RT:", 3, 221, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "RT", 3, 221, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "PTY:", 3, 163, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PTY", 3, 163, ActiveColor, ActiveColorSmooth, 16);
if (!showmodulation) tft.drawLine(16, 143, 203, 143, GreyoutColor); else tft.drawLine(16, 143, 203, 143, ActiveColor); if (!showmodulation) tft.drawLine(16, 143, 203, 143, GreyoutColor); else tft.drawLine(16, 143, 203, 143, ActiveColor);
} }
LowLevelInit = true; LowLevelInit = true;
@@ -1255,14 +1255,14 @@ void loop() {
tft.fillRect(16, 133, 187, 6, GreyoutColor); tft.fillRect(16, 133, 187, 6, GreyoutColor);
} }
if (radio.rds.region == 0) { if (radio.rds.region == 0) {
tftPrint(ALEFT, "PI:", 212, 193, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PI", 212, 193, GreyoutColor, BackgroundColor, 16);
} else { } else {
tftPrint(ALEFT, "PI:", 212, 184, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PI", 212, 184, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "ID:", 212, 201, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "ID", 212, 201, GreyoutColor, BackgroundColor, 16);
} }
tftPrint(ALEFT, "PS:", 3, 193, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PS", 3, 193, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "RT:", 3, 221, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "RT", 3, 221, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "PTY:", 3, 163, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PTY", 3, 163, GreyoutColor, BackgroundColor, 16);
tft.drawLine(16, 143, 203, 143, GreyoutColor); tft.drawLine(16, 143, 203, 143, GreyoutColor);
tft.drawBitmap(68, 5, RDSLogo, 35, 22, GreyoutColor); tft.drawBitmap(68, 5, RDSLogo, 35, 22, GreyoutColor);
} }
@@ -2323,15 +2323,15 @@ void SelectBand() {
doBW(); doBW();
if (!screenmute) { if (!screenmute) {
if (radio.rds.region == 0) { if (radio.rds.region == 0) {
tftPrint(ALEFT, "PI:", 212, 193, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PI", 212, 193, GreyoutColor, BackgroundColor, 16);
} else { } else {
tftPrint(ALEFT, "PI:", 212, 184, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PI", 212, 184, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "ID:", 212, 201, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "ID", 212, 201, GreyoutColor, BackgroundColor, 16);
} }
tftPrint(ALEFT, "PS:", 3, 193, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PS", 3, 193, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "RT:", 3, 221, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "RT", 3, 221, GreyoutColor, BackgroundColor, 16);
tftPrint(ALEFT, "PTY:", 3, 163, GreyoutColor, BackgroundColor, 16); tftPrint(ALEFT, "PTY", 3, 163, GreyoutColor, BackgroundColor, 16);
tft.drawBitmap(68, 5, RDSLogo, 35, 22, GreyoutColor); tft.drawBitmap(68, 5, RDSLogo, 35, 22, GreyoutColor);
tft.fillRoundRect(249, 57, 30, 18, 2, GreyoutColor); tft.fillRoundRect(249, 57, 30, 18, 2, GreyoutColor);
tftPrint(ACENTER, "iMS", 265, 59, BackgroundColor, GreyoutColor, 16); tftPrint(ACENTER, "iMS", 265, 59, BackgroundColor, GreyoutColor, 16);
@@ -2358,14 +2358,14 @@ void SelectBand() {
if (!externaltune && tunemode != TUNE_MEM) CheckBandForbiddenFM(); if (!externaltune && tunemode != TUNE_MEM) CheckBandForbiddenFM();
doBW(); doBW();
if (radio.rds.region == 0) { if (radio.rds.region == 0) {
tftPrint(ALEFT, "PI:", 212, 193, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 212, 193, ActiveColor, ActiveColorSmooth, 16);
} else { } else {
tftPrint(ALEFT, "PI:", 212, 184, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 212, 184, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "ID:", 212, 201, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "ID", 212, 201, ActiveColor, ActiveColorSmooth, 16);
} }
tftPrint(ALEFT, "PS:", 3, 193, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PS", 3, 193, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "RT:", 3, 221, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "RT", 3, 221, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "PTY:", 3, 163, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PTY", 3, 163, ActiveColor, ActiveColorSmooth, 16);
tftReplace(ALEFT, "kHz", "MHz", 258, 76, ActiveColor, ActiveColorSmooth, BackgroundColor, 28); tftReplace(ALEFT, "kHz", "MHz", 258, 76, ActiveColor, ActiveColorSmooth, BackgroundColor, 28);
} }
+2 -2
View File
@@ -2965,8 +2965,8 @@ void BuildAdvancedRDS() {
if (radio.rds.region == 0) { if (radio.rds.region == 0) {
tftPrint(ALEFT, "PI", 216, 81, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 216, 81, ActiveColor, ActiveColorSmooth, 16);
} else { } else {
tftPrint(ALEFT, "PI:", 216, 72, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PI", 216, 72, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "ID:", 216, 89, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "ID", 216, 89, ActiveColor, ActiveColorSmooth, 16);
} }
tftPrint(ALEFT, "PS", 3, 81, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PS", 3, 81, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ALEFT, "PTY", 3, 109, ActiveColor, ActiveColorSmooth, 16); tftPrint(ALEFT, "PTY", 3, 109, ActiveColor, ActiveColorSmooth, 16);