summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-10 19:03:34 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-08-10 19:03:34 (GMT)
commit8a694adb0979339664da0af6d51c480d26c5527b (patch)
tree89c0deb381b34d3060edfcee249a9e5177244e67 /src/main.cpp
parent7e92577c14895f57f5adda27ad54adbbc4b7ffe9 (diff)
Rework TouchHandler into not a task
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
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;
}