Skip to content

Commit

Permalink
fix: update full battery voltage
Browse files Browse the repository at this point in the history
  • Loading branch information
DriftKingTW committed Nov 1, 2022
1 parent 268c713 commit 2c6d5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2c6d5f0

Please sign in to comment.