diff options
author | JF <jf@codingfield.com> | 2020-09-27 20:02:47 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-09-27 20:02:47 +0200 |
commit | 5d3a9744938b38c064379c3f78ace5a7dd87926f (patch) | |
tree | d0e73cf9c19260328a729eb3ccc398ce8536b329 /src/SystemTask | |
parent | 079d437016e2bdbd2161fb6b3f11f9d9e346709a (diff) |
Add BatteryInformationService to expose the battery level to BLE host.
Diffstat (limited to 'src/SystemTask')
-rw-r--r-- | src/SystemTask/SystemTask.cpp | 2 |
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); } |