Whoopsie
This commit is contained in:
+3
-3
@@ -665,12 +665,12 @@ void TEF6686::readRDS(bool showrdserrors)
|
|||||||
|
|
||||||
if (offset > 4) {
|
if (offset > 4) {
|
||||||
if (((rds.rdsC >> 8) * 10 + 8750) == currentfreq) { // Check if mapped frequency belongs to current frequency
|
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
|
eon[position].mappedfreq = ((rds.rdsC & 0xFF) * 10 + 8750); // Add mapped frequency to array
|
||||||
} else {
|
} else {
|
||||||
if (eon[position].mappedfreq2 = 0) {
|
if (eon[position].mappedfreq2 == 0) {
|
||||||
eon[position].mappedfreq2 = ((rds.rdsC & 0xFF) * 10 + 8750);
|
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);
|
eon[position].mappedfreq3 = ((rds.rdsC & 0xFF) * 10 + 8750);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user