From fcbd341c1cf0084d50e7d32337013095d45091b9 Mon Sep 17 00:00:00 2001 From: JF Date: Fri, 27 Dec 2019 16:05:35 +0100 Subject: Implement battery measurement in BatteryController. Update battery info on wake up (with button) --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d5f57ebf..b845fedd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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}") \ No newline at end of file -- cgit v1.2.3-70-g09d2