RDS error indicators are now always written, to prevent wrong values
This commit is contained in:
+4
-19
@@ -4,25 +4,10 @@
|
||||
#include <TimeLib.h>
|
||||
|
||||
void ShowAdvancedRDS() {
|
||||
if (radio.rds.rdsAerror != errorAold || rdsreset) {
|
||||
if (radio.rds.rdsAerror) tft.fillCircle(86, 41, 5, SignificantColor); else tft.fillCircle(86, 41, 5, InsignificantColor);
|
||||
errorAold = radio.rds.rdsAerror;
|
||||
}
|
||||
|
||||
if (radio.rds.rdsBerror != errorBold || rdsreset) {
|
||||
if (radio.rds.rdsBerror) tft.fillCircle(124, 41, 5, SignificantColor); else tft.fillCircle(124, 41, 5, InsignificantColor);
|
||||
errorBold = radio.rds.rdsBerror;
|
||||
}
|
||||
|
||||
if (radio.rds.rdsCerror != errorCold || rdsreset) {
|
||||
if (radio.rds.rdsCerror) tft.fillCircle(162, 41, 5, SignificantColor); else tft.fillCircle(162, 41, 5, InsignificantColor);
|
||||
errorCold = radio.rds.rdsCerror;
|
||||
}
|
||||
|
||||
if (radio.rds.rdsDerror != errorDold || rdsreset) {
|
||||
if (radio.rds.rdsDerror) tft.fillCircle(200, 41, 5, SignificantColor); else tft.fillCircle(200, 41, 5, InsignificantColor);
|
||||
errorDold = radio.rds.rdsDerror;
|
||||
}
|
||||
if (radio.rds.rdsAerror) tft.fillCircle(86, 41, 5, SignificantColor); else tft.fillCircle(86, 41, 5, InsignificantColor);
|
||||
if (radio.rds.rdsBerror) tft.fillCircle(124, 41, 5, SignificantColor); else tft.fillCircle(124, 41, 5, InsignificantColor);
|
||||
if (radio.rds.rdsCerror) tft.fillCircle(162, 41, 5, SignificantColor); else tft.fillCircle(162, 41, 5, InsignificantColor);
|
||||
if (radio.rds.rdsDerror) tft.fillCircle(200, 41, 5, SignificantColor); else tft.fillCircle(200, 41, 5, InsignificantColor);
|
||||
|
||||
if (radio.rds.hasDynamicPTY != dynamicPTYold) {
|
||||
if (radio.rds.hasDynamicPTY) tft.fillCircle(310, 137, 5, InsignificantColor); else tft.fillCircle(310, 137, 5, SignificantColor);
|
||||
|
||||
Reference in New Issue
Block a user