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