Fixed tune down not working in FM
This commit is contained in:
+7
-2
@@ -314,10 +314,14 @@ void setup() {
|
||||
case BAND_FM:
|
||||
if (specialstepOIRT) {
|
||||
if (frequency >= (FREQ_FM_OIRT_START) && frequency <= (FREQ_FM_OIRT_END)) {
|
||||
if (frequency % 3 != 0) { Round30K(frequency); }
|
||||
if (frequency % 3 != 0) {
|
||||
Round30K(frequency);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (frequency % 10 != 0) { Round50K(frequency); }
|
||||
if (frequency % 10 != 0) {
|
||||
Round50K(frequency);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
@@ -4475,6 +4479,7 @@ void TuneDown() {
|
||||
if (edgebeep) EdgeBeeper();
|
||||
}
|
||||
}
|
||||
radio.SetFreq(frequency);
|
||||
}
|
||||
|
||||
if (band == BAND_LW) {
|
||||
|
||||
Reference in New Issue
Block a user