Fix touch wakeup and code cleanup
This commit is contained in:
parent
2a3e126390
commit
93ccbf38e8
7 changed files with 43 additions and 53 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue