Fixed CT glitching

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-11-02 00:08:28 +01:00
parent ca40d85bd9
commit ea44570642
2 changed files with 5 additions and 7 deletions

View File

@@ -303,9 +303,9 @@ void readRds() {
}
if (radio.rds.hasCT) {
if (advancedRDS) {
tftReplace(1, rds_clockold, rds_clock, 205, 109, SecondaryColor, SecondaryColorSmooth, 16);
tftPrint(1, rds_clockold, 205, 109, SecondaryColor, SecondaryColorSmooth, 16);
} else {
tftReplace(1, rds_clockold, rds_clock, 205, 163, SecondaryColor, SecondaryColorSmooth, 16);
tftPrint(1, rds_clockold, 205, 163, SecondaryColor, SecondaryColorSmooth, 16);
}
}
dropout = true;
@@ -333,9 +333,9 @@ void readRds() {
}
if (radio.rds.hasCT) {
if (advancedRDS) {
tftReplace(1, rds_clockold, rds_clock, 205, 109, PrimaryColor, PrimaryColorSmooth, 16);
tftPrint(1, rds_clockold, 205, 109, PrimaryColor, PrimaryColorSmooth, 16);
} else {
tftReplace(1, rds_clockold, rds_clock, 205, 163, PrimaryColor, PrimaryColorSmooth, 16);
tftPrint(1, rds_clockold, 205, 163, PrimaryColor, PrimaryColorSmooth, 16);
}
}
dropout = false;