Added option to lock CT to PI

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-01-19 20:39:02 +01:00
parent 2dfd23a468
commit 798c9b43cf
6 changed files with 177 additions and 28 deletions

View File

@@ -1341,7 +1341,7 @@ void TEF6686::readRDS(byte showrdserrors) {
} break;
case RDS_GROUP_4A: {
if (!rdsBerrorThreshold && !rdsCerrorThreshold && !rdsDerrorThreshold && rds.ctupdate) {
if (!rdsBerrorThreshold && !rdsCerrorThreshold && !rdsDerrorThreshold && rds.ctupdate && (rds.PICTlock == rds.rdsA || rds.PICTlock == 0)) {
// CT
uint32_t mjd;
mjd = (rds.rdsB & 0x03);