Skip to content

Commit 268c713

Browse files
committed
optimize: update battery voltage config
1 parent e7d20bd commit 268c713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ void renderScreen() {
719719
*
720720
*/
721721
int getBatteryPercentage() {
722-
const float minVoltage = 3.4, fullVolatge = 4.0;
722+
const float minVoltage = 3.3, fullVolatge = 4.2;
723723
float batteryVoltage = tp.GetBatteryVoltage();
724724

725725
Serial.println((String) "Battery Voltage: " + batteryVoltage);

0 commit comments

Comments
 (0)