This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-12 23:12:15 +02:00
parent c77881915c
commit 797820a44e

View File

@@ -665,12 +665,12 @@ void TEF6686::readRDS(bool showrdserrors)
if (offset > 4) {
if (((rds.rdsC >> 8) * 10 + 8750) == currentfreq) { // Check if mapped frequency belongs to current frequency
if (eon[position].mappedfreq = 0) {
if (eon[position].mappedfreq == 0) {
eon[position].mappedfreq = ((rds.rdsC & 0xFF) * 10 + 8750); // Add mapped frequency to array
} else {
if (eon[position].mappedfreq2 = 0) {
if (eon[position].mappedfreq2 == 0) {
eon[position].mappedfreq2 = ((rds.rdsC & 0xFF) * 10 + 8750);
} else if (eon[position].mappedfreq3 = 0) {
} else if (eon[position].mappedfreq3 == 0) {
eon[position].mappedfreq3 = ((rds.rdsC & 0xFF) * 10 + 8750);
}
}