You've already forked TEF6686_ESP32
Fixed time display in AF screen and old time was sometimes displayed too.
This commit is contained in:
@@ -953,7 +953,7 @@ void loop() {
|
||||
}
|
||||
|
||||
void GetData() {
|
||||
showCT();
|
||||
if (!afscreen) showCT();
|
||||
if (band < BAND_GAP) ShowStereoStatus();
|
||||
if (band < BAND_GAP && !menu) {
|
||||
if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS();
|
||||
|
||||
@@ -480,7 +480,13 @@ void showCT() {
|
||||
if (rtcset) {
|
||||
if (advancedRDS) tftReplace(1, rds_clockold, rds_clock, 205, 109, SecondaryColor, SecondaryColorSmooth, 16); else tftReplace(1, rds_clockold, rds_clock, 205, 163, SecondaryColor, SecondaryColorSmooth, 16);
|
||||
} else {
|
||||
if (advancedRDS) tftPrint(1, rds_clock, 205, 109, BackgroundColor, BackgroundColor, 16); else tftPrint(1, rds_clock, 205, 163, BackgroundColor, BackgroundColor, 16);
|
||||
if (advancedRDS) {
|
||||
tftPrint(1, rds_clockold, 205, 109, BackgroundColor, BackgroundColor, 16);
|
||||
tftPrint(1, rds_clock, 205, 109, BackgroundColor, BackgroundColor, 16);
|
||||
} else {
|
||||
tftPrint(1, rds_clockold, 205, 163, BackgroundColor, BackgroundColor, 16);
|
||||
tftPrint(1, rds_clock, 205, 163, BackgroundColor, BackgroundColor, 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user