+14
-14
@@ -976,12 +976,12 @@ void MenuUp() {
|
|||||||
|
|
||||||
case ITEM7:
|
case ITEM7:
|
||||||
tftPrint(0, myLanguage[language][199], 155, 78, ActiveColor, ActiveColorSmooth, 28);
|
tftPrint(0, myLanguage[language][199], 155, 78, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (fmnb != 0) tftPrint(-1, "μs", 170, 118, ActiveColor, ActiveColor, 28);
|
if (fmnb != 0) tftPrint(-1, "μs", 170, 118, ActiveColor, ActiveColor, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
fmdeemphasis++;
|
fmdeemphasis++;
|
||||||
if (fmdeemphasis > DEEMPHASIS_COUNT - 1) fmdeemphasis = DEEMPHASIS_NONE;
|
if (fmdeemphasis > DEEMPHASIS_COUNT - 1) fmdeemphasis = DEEMPHASIS_NONE;
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, ActiveColor, PrimaryColorSmooth, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, ActiveColor, PrimaryColorSmooth, 28);
|
||||||
radio.setDeemphasis(fmdeemphasis);
|
radio.setDeemphasis(fmdeemphasis);
|
||||||
break;
|
break;
|
||||||
@@ -1083,7 +1083,7 @@ void MenuUp() {
|
|||||||
|
|
||||||
case ITEM10:
|
case ITEM10:
|
||||||
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
switch (tot) {
|
switch (tot) {
|
||||||
case 0: tot = 15; break;
|
case 0: tot = 15; break;
|
||||||
case 15: tot = 30; break;
|
case 15: tot = 30; break;
|
||||||
@@ -1092,7 +1092,7 @@ void MenuUp() {
|
|||||||
default: tot = 0; break;
|
default: tot = 0; break;
|
||||||
}
|
}
|
||||||
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -1349,13 +1349,13 @@ void MenuUp() {
|
|||||||
|
|
||||||
case ITEM6:
|
case ITEM6:
|
||||||
if (amcodect != 0) tftPrint(-1, "%", 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (amcodect != 0) tftPrint(-1, "%", 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
amcodect++;
|
amcodect++;
|
||||||
if (amcodect > 150 || amcodect <= 50) {
|
if (amcodect > 150 || amcodect <= 50) {
|
||||||
if (amcodect == 1) amcodect = 50; else amcodect = 0;
|
if (amcodect == 1) amcodect = 50; else amcodect = 0;
|
||||||
}
|
}
|
||||||
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
if (band > BAND_GAP) radio.setAMCoChannel(amcodect, amcodectcount);
|
if (band > BAND_GAP) radio.setAMCoChannel(amcodect, amcodectcount);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -1538,7 +1538,7 @@ void MenuDown() {
|
|||||||
|
|
||||||
case ITEM6:
|
case ITEM6:
|
||||||
if (HighCutOffset != 0) tftPrint(-1, "dBμV", 170, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (HighCutOffset != 0) tftPrint(-1, "dBμV", 170, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (HighCutOffset != 0) tftPrint(1, String(HighCutOffset, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (HighCutOffset != 0) tftPrint(1, String(HighCutOffset, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
HighCutOffset --;
|
HighCutOffset --;
|
||||||
if (HighCutOffset < 20 || HighCutOffset > 60) {
|
if (HighCutOffset < 20 || HighCutOffset > 60) {
|
||||||
if (HighCutOffset > 60) HighCutOffset = 60; else HighCutOffset = 0;
|
if (HighCutOffset > 60) HighCutOffset = 60; else HighCutOffset = 0;
|
||||||
@@ -1550,11 +1550,11 @@ void MenuDown() {
|
|||||||
|
|
||||||
case ITEM7:
|
case ITEM7:
|
||||||
tftPrint(0, myLanguage[language][199], 155, 78, ActiveColor, ActiveColorSmooth, 28);
|
tftPrint(0, myLanguage[language][199], 155, 78, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
fmdeemphasis--;
|
fmdeemphasis--;
|
||||||
if (fmdeemphasis > DEEMPHASIS_COUNT - 1) fmdeemphasis = DEEMPHASIS_COUNT - 1;
|
if (fmdeemphasis > DEEMPHASIS_COUNT - 1) fmdeemphasis = DEEMPHASIS_COUNT - 1;
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(1, String((fmdeemphasis == DEEMPHASIS_50 ? FM_DEEMPHASIS_50 : FM_DEEMPHASIS_75), DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, ActiveColor, PrimaryColorSmooth, 28);
|
if (fmdeemphasis != DEEMPHASIS_NONE) tftPrint(-1, "μs", 170, 118, ActiveColor, PrimaryColorSmooth, 28);
|
||||||
radio.setDeemphasis(fmdeemphasis);
|
radio.setDeemphasis(fmdeemphasis);
|
||||||
break;
|
break;
|
||||||
@@ -1656,7 +1656,7 @@ void MenuDown() {
|
|||||||
|
|
||||||
case ITEM10:
|
case ITEM10:
|
||||||
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (tot != 0) tftPrint(1, String(tot), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
switch (tot) {
|
switch (tot) {
|
||||||
case 15: tot = 0; break;
|
case 15: tot = 0; break;
|
||||||
case 30: tot = 15; break;
|
case 30: tot = 15; break;
|
||||||
@@ -1665,7 +1665,7 @@ void MenuDown() {
|
|||||||
default: tot = 90; break;
|
default: tot = 90; break;
|
||||||
}
|
}
|
||||||
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
if (tot != 0) tftPrint(-1, myLanguage[language][205], 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (tot != 0) tftPrint(1, String(tot), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -1921,13 +1921,13 @@ void MenuDown() {
|
|||||||
|
|
||||||
case ITEM6:
|
case ITEM6:
|
||||||
if (amcodect != 0) tftPrint(-1, "%", 170, 118, BackgroundColor, BackgroundColor, 28);
|
if (amcodect != 0) tftPrint(-1, "%", 170, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(1, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, BackgroundColor, BackgroundColor, 28); else tftPrint(0, myLanguage[language][30], 155, 118, BackgroundColor, BackgroundColor, 28);
|
||||||
amcodect--;
|
amcodect--;
|
||||||
if (amcodect < 50 || amcodect > 150) {
|
if (amcodect < 50 || amcodect > 150) {
|
||||||
if (amcodect > 150) amcodect = 150; else amcodect = 0;
|
if (amcodect > 150) amcodect = 150; else amcodect = 0;
|
||||||
}
|
}
|
||||||
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
if (band > BAND_GAP) radio.setAMCoChannel(amcodect, amcodectcount);
|
if (band > BAND_GAP) radio.setAMCoChannel(amcodect, amcodectcount);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2397,7 +2397,7 @@ void DoMenu() {
|
|||||||
case ITEM6:
|
case ITEM6:
|
||||||
Infoboxprint(myLanguage[language][186]);
|
Infoboxprint(myLanguage[language][186]);
|
||||||
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
if (amcodect != 0) tftPrint(-1, "%", 170, 118, ActiveColor, ActiveColorSmooth, 28);
|
||||||
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(1, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
if (amcodect != 0) tftPrint(1, String(amcodect, DEC), 155, 118, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, myLanguage[language][30], 155, 118, PrimaryColor, PrimaryColorSmooth, 28);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ITEM7:
|
case ITEM7:
|
||||||
|
|||||||
+2
-2
@@ -909,7 +909,7 @@ static const char* const myLanguage[18][208] = {
|
|||||||
"Απαλοιφή θορύβου FM", // 65
|
"Απαλοιφή θορύβου FM", // 65
|
||||||
"Οι προεπιλογές φορτώθηκαν", // 66
|
"Οι προεπιλογές φορτώθηκαν", // 66
|
||||||
"Έξοδος ήχου", // 67
|
"Έξοδος ήχου", // 67
|
||||||
"Συντονισμός σε προστασία\nοθόνης", // 68
|
"Συντονισμός σε\nπροστασία οθόνης", // 68
|
||||||
"Αναστροφή χρωμάτων οθόνης", // 69
|
"Αναστροφή χρωμάτων οθόνης", // 69
|
||||||
"Πληροφορίες λογισμικού", // 70
|
"Πληροφορίες λογισμικού", // 70
|
||||||
"Κύριος κώδικας:", // 71
|
"Κύριος κώδικας:", // 71
|
||||||
@@ -1046,7 +1046,7 @@ static const char* const myLanguage[18][208] = {
|
|||||||
"Όλα", // 202
|
"Όλα", // 202
|
||||||
"Γρήγορο PS", // 203
|
"Γρήγορο PS", // 203
|
||||||
"Εντοπισμένες εφαρμογές", // 204
|
"Εντοπισμένες εφαρμογές", // 204
|
||||||
"Λεπτ.", // 205
|
"Λεπτά", // 205
|
||||||
"Δυναμική ταχύτητα\nSPI", // 206
|
"Δυναμική ταχύτητα\nSPI", // 206
|
||||||
"Ευαισθησία\nανίχνευσης" // 207
|
"Ευαισθησία\nανίχνευσης" // 207
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user