diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-10 19:03:34 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-10 19:03:34 (GMT) |
| commit | 8a694adb0979339664da0af6d51c480d26c5527b (patch) | |
| tree | 89c0deb381b34d3060edfcee249a9e5177244e67 /src/main.cpp | |
| parent | 7e92577c14895f57f5adda27ad54adbbc4b7ffe9 (diff) | |
Rework TouchHandler into not a task
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 62e4446..dffec28 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -166,8 +166,7 @@ Pinetime::System::SystemTask systemTask(spi, void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { if (pin == pinTouchIrq) { - twiMaster.Wakeup(); - touchHandler.WakeUp(); + systemTask.OnTouchEvent(); return; } |
