Fix band width refresh bug
This commit is contained in:
+3
-4
@@ -3075,6 +3075,9 @@ void ShowOffset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ShowBW() {
|
void ShowBW() {
|
||||||
|
if (millis() >= bwupdatetimer + TIMER_BW_TIMER) { bwupdatetimer = millis(); }
|
||||||
|
else { return; }
|
||||||
|
|
||||||
if (BW != BWOld || BWreset == true) {
|
if (BW != BWOld || BWreset == true) {
|
||||||
tft.setFreeFont(FONT14);
|
tft.setFreeFont(FONT14);
|
||||||
tft.setTextColor(TFT_BLACK);
|
tft.setTextColor(TFT_BLACK);
|
||||||
@@ -3203,9 +3206,6 @@ void doSquelch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void updateBW() {
|
void updateBW() {
|
||||||
if (millis() >= bwupdatetimer + TIMER_BW_TIMER) {
|
|
||||||
bwupdatetimer = millis();
|
|
||||||
|
|
||||||
tft.setFreeFont(FONT7);
|
tft.setFreeFont(FONT7);
|
||||||
if (BWset == 0) {
|
if (BWset == 0) {
|
||||||
if (screenmute == false) {
|
if (screenmute == false) {
|
||||||
@@ -3221,7 +3221,6 @@ void updateBW() {
|
|||||||
}
|
}
|
||||||
tft.drawCentreString("AUTO BW", 282, 33, GFXFF);
|
tft.drawCentreString("AUTO BW", 282, 33, GFXFF);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void updateiMS() {
|
void updateiMS() {
|
||||||
tft.setFreeFont(FONT7);
|
tft.setFreeFont(FONT7);
|
||||||
|
|||||||
Reference in New Issue
Block a user