summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-10-25 10:40:43 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-10-25 10:40:43 (GMT)
commitb19a2a760b74f27c8d3db262bf43437f722f74bd (patch)
tree29f9506c6c6b5b3cdf36695e294e252d7e2b10c9 /src/main.cpp
parentd5dfa8087679b644c13e1d420b8ef2fc894b3b51 (diff)
Use enum classes, remove old comment
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b942fd4..53f78ce 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -178,7 +178,6 @@ void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action
xTimerStartFromISR(debounceChargeTimer, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
} else if (pin == Pinetime::PinMap::Button) {
- // This activates on button release as well due to bouncing
xTimerStartFromISR(debounceTimer, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}