Implement battery measurement in BatteryController.

Update battery info on wake up (with button)
This commit is contained in:
JF
2019-12-27 16:05:35 +01:00
parent 11d5403558
commit fcbd341c1c
6 changed files with 103 additions and 75 deletions

View File

@@ -38,6 +38,7 @@ list(APPEND SOURCE_FILES
drivers/SpiMaster.cpp
Components/Gfx/Gfx.cpp
BLE/BleManager.c
Components/Battery/BatteryController.cpp
)
set(INCLUDE_FILES
@@ -51,6 +52,7 @@ set(INCLUDE_FILES
drivers/SpiMaster.h
Components/Gfx/Gfx.h
BLE/BleManager.h
Components/Battery/BatteryController.h
)
nRF5x_addExecutable(pinetime-app "${SOURCE_FILES}")