You've already forked TEF6686_ESP32
Fixed bug where -B flag was shown in case station only transmits it's own frequency as AF
This commit is contained in:
@@ -528,7 +528,7 @@ void TEF6686::readRDS(byte showrdserrors)
|
|||||||
//AF decoder
|
//AF decoder
|
||||||
if (rdsblock == 0 && rds.rdsC != rdsCold) { // Only when in GROUP 0A
|
if (rdsblock == 0 && rds.rdsC != rdsCold) { // Only when in GROUP 0A
|
||||||
|
|
||||||
if ((rds.rdsC >> 8) > 224 && (rds.rdsC >> 8) < 250 && ((rds.rdsC & 0xFF) * 10 + 8750) == currentfreq) {
|
if ((rds.rdsC >> 8) > 224 && (rds.rdsC >> 8) < 250 && ((rds.rdsC & 0xFF) * 10 + 8750) == currentfreq && rds.hasAF) {
|
||||||
afmethodB = true; // Check for AF method B
|
afmethodB = true; // Check for AF method B
|
||||||
afmethodBprobe = true;
|
afmethodBprobe = true;
|
||||||
af_updatecounter++;
|
af_updatecounter++;
|
||||||
|
|||||||
Reference in New Issue
Block a user