diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-07-15 22:49:20 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-07-15 22:49:20 (GMT) |
| commit | 93ccbf38e81b30165e49e897c01cac2eb54cc331 (patch) | |
| tree | d8e1098b5dfebeb170388ccfa70b611a0900542b /src/main.cpp | |
| parent | 2a3e1263906d1145d6b539ff019362f0077d8097 (diff) | |
Fix touch wakeup and code cleanup
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f427db4..b8d4b02 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -161,10 +161,12 @@ Pinetime::System::SystemTask systemTask(spi, heartRateController, displayApp, heartRateApp, - fs); + fs, + touchHandler); void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { if (pin == pinTouchIrq) { + twiMaster.Wakeup(); touchHandler.WakeUp(); return; } |
