From 5b6e35d4e08471d5128cc328fc71d8532c5c08a8 Mon Sep 17 00:00:00 2001 From: Pol Van Aubel Date: Sat, 4 May 2019 04:23:39 +0200 Subject: [PATCH] Add defaults for pxHigherPriorityTaskWoken. --- cores/nRF5/utility/SoftwareTimer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cores/nRF5/utility/SoftwareTimer.h b/cores/nRF5/utility/SoftwareTimer.h index dbeb01d4..ba6920f6 100644 --- a/cores/nRF5/utility/SoftwareTimer.h +++ b/cores/nRF5/utility/SoftwareTimer.h @@ -61,13 +61,13 @@ class SoftwareTimer void stop (void) { xTimerStop (_handle, 0); } void reset(void) { xTimerReset(_handle, 0); } - BaseType_t startFromISR(BaseType_t* pxHigherPriorityTaskWoken) { + BaseType_t startFromISR(BaseType_t* pxHigherPriorityTaskWoken = NULL) { return xTimerStartFromISR(_handle, pxHigherPriorityTaskWoken); } - BaseType_t stopFromISR(BaseType_t* pxHigherPriorityTaskWoken) { + BaseType_t stopFromISR(BaseType_t* pxHigherPriorityTaskWoken = NULL) { return xTimerStopFromISR (_handle, pxHigherPriorityTaskWoken); } - BaseType_t resetFromISR(BaseType_t* pxHigherPriorityTaskWoken) { + BaseType_t resetFromISR(BaseType_t* pxHigherPriorityTaskWoken = NULL) { return xTimerResetFromISR(_handle, pxHigherPriorityTaskWoken); }