QFix - battery value blinkin TEF6686_ESP32.ino

It looks like this overrides the values in percentage and value display when they reach certain values.
This commit is contained in:
Jan Ove Overland
2023-08-10 18:47:17 +02:00
committed by GitHub
parent c03e34aeeb
commit 478afa20b7
-1
View File
@@ -2960,7 +2960,6 @@ void ShowBattery() {
} else {
tft.drawRect(277, 6, 37, 20, ActiveColor);
tft.fillRect(313, 13, 4, 6, ActiveColor);
tft.fillRect(279, 8, 33, 16, BackgroundColor);
if (!batteryoptions == BATTERY_VALUE || !batteryoptions == BATTERY_PERCENT) {
tft.fillRect(279, 24 - (battery * 4), 33, battery * 4, BarInsignificantColor);
}