diff options
author | JF002 <JF002@users.noreply.github.com> | 2021-02-14 12:03:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-14 12:03:49 +0100 |
commit | 4c3803450e33e321dd2f90bdf62b9abe99f1e491 (patch) | |
tree | 1b69be394c55dce4cbe64750dae6603bfd33b09c /src/main.cpp | |
parent | 6420885abb96735e085f3c60b123b0c671a7afb8 (diff) | |
parent | d4c31bcbbe2f8b6d2e6c45203193745f9cb2a41b (diff) |
Merge pull request #161 from petterhs/calls
Call functionality with changed UUID for notification event characteristic
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4f8ed6a8..4aaf23c0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -98,8 +98,6 @@ void ble_manager_set_ble_disconnection_callback(void (*disconnection)()); static constexpr uint8_t pinTouchIrq = 28; std::unique_ptr<Pinetime::System::SystemTask> systemTask; -Pinetime::Controllers::NotificationManager notificationManager; - void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { if(pin == pinTouchIrq) { systemTask->OnTouchEvent(); @@ -241,7 +239,7 @@ int main(void) { debounceTimer = xTimerCreate ("debounceTimer", 200, pdFALSE, (void *) 0, DebounceTimerCallback); systemTask.reset(new Pinetime::System::SystemTask(spi, lcd, spiNorFlash, twiMaster, touchPanel, lvgl, batteryController, bleController, - dateTimeController, notificationManager, heartRateSensor)); + dateTimeController, heartRateSensor)); systemTask->Start(); nimble_port_init(); |