From 5055fbd2616cce7886f5bc11ac7dc75bfe3601ca Mon Sep 17 00:00:00 2001 From: DriftKingTW Date: Sat, 22 Jun 2024 01:35:43 +0800 Subject: [PATCH] fix: update battery result to screen --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 94dd245..04dedaa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -383,9 +383,11 @@ void generalTask(void *pvParameters) { } else if (isOutputLocked) { contentIcon = 10; result = "Bat. " + (String)batteryPercentage + "%"; + contentTop = result; } else if (isCaffeinated) { contentIcon = 9; result = "Bat. " + (String)batteryPercentage + "%"; + contentTop = result; } else if (bootWiFiMode) { String networkInfo = ""; if (currentMillis - networkInfoPreviousMillis <