Fix battery value not always visible after change of levelindicator
This commit is contained in:
+3
-1
@@ -155,7 +155,7 @@ byte screensaverset;
|
|||||||
byte showmodulation;
|
byte showmodulation;
|
||||||
byte showSWMIBand;
|
byte showSWMIBand;
|
||||||
byte submenu;
|
byte submenu;
|
||||||
byte nowToggleSWMIBand = 0;
|
byte nowToggleSWMIBand = 1;
|
||||||
byte SNRold;
|
byte SNRold;
|
||||||
byte stepsize;
|
byte stepsize;
|
||||||
byte StereoLevel;
|
byte StereoLevel;
|
||||||
@@ -2983,6 +2983,8 @@ void ShowBattery() {
|
|||||||
tft.fillRect(279, 8, 33, 16, BackgroundColor);
|
tft.fillRect(279, 8, 33, 16, BackgroundColor);
|
||||||
}
|
}
|
||||||
batteryold = battery;
|
batteryold = battery;
|
||||||
|
batteryVold = 0;
|
||||||
|
vPerold = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wifi && batterydetect) {
|
if (!wifi && batterydetect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user