Centered EQ
This commit is contained in:
+3
-3
@@ -2090,7 +2090,7 @@ void SelectBand() {
|
|||||||
tft.drawRoundRect(248, 56, 32, 20, 5, GreyoutColor);
|
tft.drawRoundRect(248, 56, 32, 20, 5, GreyoutColor);
|
||||||
tftPrint(0, "iMS", 265, 59, GreyoutColor, BackgroundColor, 16);
|
tftPrint(0, "iMS", 265, 59, GreyoutColor, BackgroundColor, 16);
|
||||||
tft.drawRoundRect(286, 56, 32, 20, 5, GreyoutColor);
|
tft.drawRoundRect(286, 56, 32, 20, 5, GreyoutColor);
|
||||||
tftPrint(0, "EQ", 303, 59, GreyoutColor, BackgroundColor, 16);
|
tftPrint(0, "EQ", 301, 59, GreyoutColor, BackgroundColor, 16);
|
||||||
// todo
|
// todo
|
||||||
// if (band == AM_BAND_AIR) tftPrint(-1, "MHz", 258, 76, ActiveColor, ActiveColorSmooth, 28);
|
// if (band == AM_BAND_AIR) tftPrint(-1, "MHz", 258, 76, ActiveColor, ActiveColorSmooth, 28);
|
||||||
// else tftPrint(-1, "KHz", 258, 76, ActiveColor, ActiveColorSmooth, 28);
|
// else tftPrint(-1, "KHz", 258, 76, ActiveColor, ActiveColorSmooth, 28);
|
||||||
@@ -3405,13 +3405,13 @@ void updateEQ() {
|
|||||||
if (EQset == 0) {
|
if (EQset == 0) {
|
||||||
if (!screenmute && !advancedRDS && !afscreen) {
|
if (!screenmute && !advancedRDS && !afscreen) {
|
||||||
tft.drawRoundRect(286, 56, 32, 20, 5, ActiveColor);
|
tft.drawRoundRect(286, 56, 32, 20, 5, ActiveColor);
|
||||||
tftPrint(0, "EQ", 303, 59, ActiveColor, ActiveColorSmooth, 16);
|
tftPrint(0, "EQ", 301, 59, ActiveColor, ActiveColorSmooth, 16);
|
||||||
}
|
}
|
||||||
radio.setEQ(1);
|
radio.setEQ(1);
|
||||||
} else {
|
} else {
|
||||||
if (!screenmute && !advancedRDS && !afscreen) {
|
if (!screenmute && !advancedRDS && !afscreen) {
|
||||||
tft.drawRoundRect(286, 56, 32, 20, 5, GreyoutColor);
|
tft.drawRoundRect(286, 56, 32, 20, 5, GreyoutColor);
|
||||||
tftPrint(0, "EQ", 303, 59, GreyoutColor, BackgroundColor, 16);
|
tftPrint(0, "EQ", 301, 59, GreyoutColor, BackgroundColor, 16);
|
||||||
}
|
}
|
||||||
radio.setEQ(0);
|
radio.setEQ(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user