Disable radiotext to display processing on screenmute
This commit is contained in:
+5
-3
@@ -607,6 +607,7 @@ void showCT() {
|
||||
}
|
||||
|
||||
void showRadioText() {
|
||||
if (!screenmute) {
|
||||
if (radio.rds.hasRT && radio.rds.stationText.length() > 0) {
|
||||
if (String(radio.rds.stationText + radio.rds.stationText32).length() != Radiotextlengthold) {
|
||||
RadiotextWidth = tft.textWidth(radio.rds.stationText + " " + radio.rds.stationText32) + TickerSpace;
|
||||
@@ -673,9 +674,11 @@ void showRadioText() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (wifi) {
|
||||
if (RTold != (radio.rds.stationText + " " + radio.rds.stationText32)) {
|
||||
xPos = 0;
|
||||
if (wifi) {
|
||||
Udp.beginPacket(remoteip, 9030);
|
||||
Udp.print("from=TEF_tuner " + String(stationlistid, DEC) + ";RT1=");
|
||||
char RThex[65];
|
||||
@@ -688,9 +691,8 @@ void showRadioText() {
|
||||
}
|
||||
Udp.endPacket();
|
||||
}
|
||||
}
|
||||
if (RTold != (radio.rds.stationText + " " + radio.rds.stationText32)) xPos = 0;
|
||||
RTold = radio.rds.stationText + " " + radio.rds.stationText32;
|
||||
}
|
||||
}
|
||||
|
||||
void ShowAFEON() {
|
||||
|
||||
Reference in New Issue
Block a user