summaryrefslogtreecommitdiff
path: root/src/SystemTask
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-09-27 20:02:47 +0200
committerJF <jf@codingfield.com>2020-09-27 20:02:47 +0200
commit5d3a9744938b38c064379c3f78ace5a7dd87926f (patch)
treed0e73cf9c19260328a729eb3ccc398ce8536b329 /src/SystemTask
parent079d437016e2bdbd2161fb6b3f11f9d9e346709a (diff)
Add BatteryInformationService to expose the battery level to BLE host.
Diffstat (limited to 'src/SystemTask')
-rw-r--r--src/SystemTask/SystemTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp
index a4e63560..2070282b 100644
--- a/src/SystemTask/SystemTask.cpp
+++ b/src/SystemTask/SystemTask.cpp
@@ -35,7 +35,7 @@ SystemTask::SystemTask(Drivers::SpiMaster &spi, Drivers::St7789 &lcd,
twiMaster{twiMaster}, touchPanel{touchPanel}, lvgl{lvgl}, batteryController{batteryController},
bleController{bleController}, dateTimeController{dateTimeController},
watchdog{}, watchdogView{watchdog}, notificationManager{notificationManager},
- nimbleController(*this, bleController,dateTimeController, notificationManager, spiNorFlash) {
+ nimbleController(*this, bleController,dateTimeController, notificationManager, batteryController, spiNorFlash) {
systemTaksMsgQueue = xQueueCreate(10, 1);
}