Merge pull request #47 from ohmytime/OIRT
This commit is contained in:
+8
-2
@@ -1200,10 +1200,16 @@ void ModeButtonPress() {
|
|||||||
RDSstatus = 0;
|
RDSstatus = 0;
|
||||||
if (specialstepOIRT) {
|
if (specialstepOIRT) {
|
||||||
if (frequency >= (FREQ_FM_OIRT_START) && frequency <= (FREQ_FM_OIRT_END)) {
|
if (frequency >= (FREQ_FM_OIRT_START) && frequency <= (FREQ_FM_OIRT_END)) {
|
||||||
if (frequency % 3 != 0) { Round30K(frequency); }
|
if (frequency % 3 != 0) {
|
||||||
|
Round30K(frequency);
|
||||||
|
EEPROM.writeUInt(0,frequency);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
if (frequency % 10 != 0) { Round50K(frequency); }
|
if (frequency % 10 != 0) {
|
||||||
|
Round50K(frequency);
|
||||||
|
EEPROM.writeUInt(0,frequency);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
BuildDisplay();
|
BuildDisplay();
|
||||||
ShowSignalLevel();
|
ShowSignalLevel();
|
||||||
|
|||||||
Reference in New Issue
Block a user