Make battery reading periodic. Add events. Disable pullup
This commit is contained in:
parent
643077341b
commit
23bde0d18e
8 changed files with 38 additions and 32 deletions
|
|
@ -59,9 +59,6 @@ BatteryInfo::~BatteryInfo() {
|
|||
}
|
||||
|
||||
void BatteryInfo::UpdateScreen() {
|
||||
|
||||
batteryController.Update();
|
||||
|
||||
batteryPercent = batteryController.PercentRemaining();
|
||||
batteryVoltage = batteryController.Voltage();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue