Rework TouchHandler into not a task
This commit is contained in:
parent
7e92577c14
commit
8a694adb09
6 changed files with 50 additions and 71 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue