RDS clock is now shown as it's transmitted via RDS (not the RTC time)

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-10-08 17:37:51 +02:00
parent 936a202d7a
commit 2fbdcb163c
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ void ShowAdvancedRDS() {
MSold = radio.rds.MS;
}
rds_clock = ((hour() < 10 ? "0" : "") + String(hour()) + ":" + (minute() < 10 ? "0" : "") + String(minute()));
rds_clock = ((radio.rds.hour < 10 ? "0" : "") + String(radio.rds.hour) + ":" + (radio.rds.minute < 10 ? "0" : "") + String(radio.rds.minute));
if (rds_clock != rds_clockold) {
if (!screenmute) {
if (radio.rds.hasCT) {