summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-02-14 12:03:49 +0100
committerGitHub <noreply@github.com>2021-02-14 12:03:49 +0100
commit4c3803450e33e321dd2f90bdf62b9abe99f1e491 (patch)
tree1b69be394c55dce4cbe64750dae6603bfd33b09c /src/main.cpp
parent6420885abb96735e085f3c60b123b0c671a7afb8 (diff)
parentd4c31bcbbe2f8b6d2e6c45203193745f9cb2a41b (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.cpp4
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();