Skip to content

Commit c61dc45

Browse files
committed
Update BatteryCalibration.ino
1 parent 146f8ec commit c61dc45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Firmware/BatteryTools/BatteryCalibration/BatteryCalibration.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int getBatteryReading()
7272

7373
bool isBatteryPresent()
7474
{
75-
return (getBatteryReading() < 150);
75+
return (getBatteryReading() >= 150);
7676
}
7777

7878
bool isBatteryAlreadyCalibrated()
@@ -120,7 +120,8 @@ void erasePreviousCalibrationData()
120120
DELAY_MS(10000);
121121
}
122122
Serial.println("Note: Battery detected (you are good to go)...");
123-
Serial.println("Now stopped until reset or power removal.");
123+
Serial.println("Now stopped until power removal.");
124+
Serial.println("Remove any wired power supply to proceed to battery calibration.");
124125
for (;;)
125126
DELAY_MS(10000);
126127
}

0 commit comments

Comments
 (0)