diff options
author | JF <jf@codingfield.com> | 2020-01-09 22:00:54 +0100 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-01-09 22:00:54 +0100 |
commit | 04c7b1429f3d5c947c051f405846bd1fa72f2bf8 (patch) | |
tree | 1e68fb9e44f6f518eec23d28ec808e37dd42d5c3 /src/main.cpp | |
parent | 1e25f51af708544434f48d434602da0e3ecb60cf (diff) |
Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 420bb948..7f8bef8c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -44,7 +44,7 @@ void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action BaseType_t xHigherPriorityTaskWoken = pdFALSE; xTimerStartFromISR(debounceTimer, &xHigherPriorityTaskWoken); - // TODO should I do something if xHigherPriorityTaskWoken == pdTRUE? + portYIELD_FROM_ISR(xHigherPriorityTaskWoken); } void DebounceTimerCallback(TimerHandle_t xTimer) { |