Fixed bug in RDS block display
This commit is contained in:
+3
-3
@@ -2919,8 +2919,8 @@ void ShowAdvancedRDS() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (rdsblockold != radio.rdsblock) {
|
if (rdsblockold != radio.rdsblock) {
|
||||||
tft.fillCircle((6 * rdsblockold) + 6, 136, 2, TFT_RED);
|
if (rdsblockold < 33) tft.fillCircle((6 * rdsblockold) + 10, 136, 2, TFT_RED);
|
||||||
tft.fillCircle((6 * radio.rdsblock) + 6, 136, 2, TFT_GREEN);
|
if (radio.rdsblock < 33) tft.fillCircle((6 * radio.rdsblock) + 10, 136, 2, TFT_GREEN);
|
||||||
rdsblockold = radio.rdsblock;
|
rdsblockold = radio.rdsblock;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3357,7 +3357,7 @@ void BuildAdvancedRDS() {
|
|||||||
tft.fillCircle(310, 170, 5, TFT_RED);
|
tft.fillCircle(310, 170, 5, TFT_RED);
|
||||||
tft.fillCircle(310, 185, 5, TFT_RED);
|
tft.fillCircle(310, 185, 5, TFT_RED);
|
||||||
|
|
||||||
for (int i; i < 33; i++) tft.fillCircle((6 * i) + 6, 136, 2, GreyoutColor);
|
for (int i; i < 33; i++) tft.fillCircle((6 * i) + 10, 136, 2, GreyoutColor);
|
||||||
|
|
||||||
tft.setTextColor(ActiveColor);
|
tft.setTextColor(ActiveColor);
|
||||||
tft.setFreeFont(FONT14);
|
tft.setFreeFont(FONT14);
|
||||||
|
|||||||
Reference in New Issue
Block a user