Merge branch 'main' into New_Model_DP_666
This commit is contained in:
@@ -935,6 +935,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool foundmemaf = false;
|
||||||
for (int x = 8750; x <= 10800; x += 10) {
|
for (int x = 8750; x <= 10800; x += 10) {
|
||||||
if (rotary != 0 || digitalRead(BANDBUTTON) == LOW || digitalRead(MODEBUTTON) == LOW || digitalRead(BWBUTTON) == LOW || digitalRead(ROTARY_BUTTON) == LOW) break;
|
if (rotary != 0 || digitalRead(BANDBUTTON) == LOW || digitalRead(MODEBUTTON) == LOW || digitalRead(BWBUTTON) == LOW || digitalRead(ROTARY_BUTTON) == LOW) break;
|
||||||
radio.SetFreq(x);
|
radio.SetFreq(x);
|
||||||
@@ -944,10 +945,16 @@ void loop() {
|
|||||||
}
|
}
|
||||||
if (radio.rds.correctPI == radio.getBlockA()) {
|
if (radio.rds.correctPI == radio.getBlockA()) {
|
||||||
frequency = x;
|
frequency = x;
|
||||||
|
foundmemaf = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!foundmemaf) {
|
||||||
|
frequency = freqold;
|
||||||
|
radio.SetFreq(frequency);
|
||||||
|
}
|
||||||
|
|
||||||
if (!screenmute) {
|
if (!screenmute) {
|
||||||
if (advancedRDS) {
|
if (advancedRDS) {
|
||||||
leave = true;
|
leave = true;
|
||||||
|
|||||||
@@ -1790,7 +1790,9 @@ void MenuUp() {
|
|||||||
autosquelch = false;
|
autosquelch = false;
|
||||||
} else if (usesquelch && !autosquelch) {
|
} else if (usesquelch && !autosquelch) {
|
||||||
usesquelch = false;
|
usesquelch = false;
|
||||||
|
autosquelch = false;
|
||||||
} else {
|
} else {
|
||||||
|
usesquelch = false;
|
||||||
autosquelch = true;
|
autosquelch = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2652,7 +2654,9 @@ void MenuDown() {
|
|||||||
autosquelch = false;
|
autosquelch = false;
|
||||||
} else if (usesquelch && !autosquelch) {
|
} else if (usesquelch && !autosquelch) {
|
||||||
usesquelch = false;
|
usesquelch = false;
|
||||||
|
autosquelch = false;
|
||||||
} else {
|
} else {
|
||||||
|
usesquelch = false;
|
||||||
autosquelch = true;
|
autosquelch = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
#ifndef LANGUAGE_H
|
#ifndef LANGUAGE_H
|
||||||
#define LANGUAGE_H
|
#define LANGUAGE_H
|
||||||
|
|
||||||
#define VERSION "v2.11"
|
#define VERSION "v2.11.1"
|
||||||
|
|
||||||
// [number of languages][number of texts]
|
// [number of languages][number of texts]
|
||||||
|
|
||||||
@@ -2955,7 +2955,7 @@ static const char* const myLanguage[18][263] PROGMEM = {
|
|||||||
"Экран отключен!", // 31
|
"Экран отключен!", // 31
|
||||||
"Чтобы включить звук, снимите флажок RF+", // 32
|
"Чтобы включить звук, снимите флажок RF+", // 32
|
||||||
"ВЫКЛ.", // 33
|
"ВЫКЛ.", // 33
|
||||||
"СКАНИРОВАНИЕ...", // 34
|
"СКАНИРОВАНИЕ", // 34
|
||||||
"Тюнер не обнаружен", // 35
|
"Тюнер не обнаружен", // 35
|
||||||
"AM Antenna gain", // 36
|
"AM Antenna gain", // 36
|
||||||
"FM AGC", // 37
|
"FM AGC", // 37
|
||||||
|
|||||||
Reference in New Issue
Block a user