From 2c6d5f040c9e305c66866c9bc4f1c9f656020b9b Mon Sep 17 00:00:00 2001 From: DriftKingTW Date: Tue, 1 Nov 2022 14:24:33 +0800 Subject: [PATCH] fix: update full battery voltage --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f58435e..0837306 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -719,7 +719,7 @@ void renderScreen() { * */ int getBatteryPercentage() { - const float minVoltage = 3.3, fullVolatge = 4.2; + const float minVoltage = 3.3, fullVolatge = 4.1; float batteryVoltage = tp.GetBatteryVoltage(); Serial.println((String) "Battery Voltage: " + batteryVoltage);