Fix bug where some pixels in MHz were missing.
This commit is contained in:
+1
-2
@@ -4202,8 +4202,6 @@ void BuildDisplay() {
|
||||
tftPrint(-1, "kHz", 222, 4, ActiveColor, ActiveColorSmooth, FONT28);
|
||||
tftPrint(-1, unitString[unit], 282, 145, ActiveColor, ActiveColorSmooth, FONT16);
|
||||
|
||||
if (band < BAND_GAP) tftPrint(-1, "MHz", 258, 76, ActiveColor, ActiveColorSmooth, FONT28); else tftPrint(-1, "kHz", 258, 76, ActiveColor, ActiveColorSmooth, FONT28);
|
||||
|
||||
tft.drawRoundRect(249, 56, 30, 20, 5, GreyoutColor);
|
||||
tft.drawRoundRect(287, 56, 30, 20, 5, GreyoutColor);
|
||||
tft.drawCircle(81, 15, 10, GreyoutColor);
|
||||
@@ -4246,6 +4244,7 @@ void BuildDisplay() {
|
||||
strcpy(radioIdPrevious, "0");
|
||||
programServicePrevious = "0";
|
||||
BWreset = true;
|
||||
if (band < BAND_GAP) tftPrint(-1, "MHz", 258, 76, ActiveColor, ActiveColorSmooth, FONT28); else tftPrint(-1, "kHz", 258, 76, ActiveColor, ActiveColorSmooth, FONT28);
|
||||
}
|
||||
|
||||
void ShowFreq(int mode) {
|
||||
|
||||
Reference in New Issue
Block a user