From 80e1b12dc61e28fac07e262f12166ffa10f1cd0b Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Wed, 8 Jan 2020 18:03:38 -0800 Subject: [PATCH] Remove unused variable. --- cores/nRF5/utility/SoftwareTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/nRF5/utility/SoftwareTimer.cpp b/cores/nRF5/utility/SoftwareTimer.cpp index 84c64c0e..9a73706c 100644 --- a/cores/nRF5/utility/SoftwareTimer.cpp +++ b/cores/nRF5/utility/SoftwareTimer.cpp @@ -44,7 +44,7 @@ bool SoftwareTimer::start(void) bool ret = true; if ( isInISR() ) { - BaseType_t ret, xHigherPriorityTaskWoken = pdFALSE; + BaseType_t xHigherPriorityTaskWoken = pdFALSE; ret = (pdPASS == xTimerStartFromISR(_handle, &xHigherPriorityTaskWoken)); portYIELD_FROM_ISR(xHigherPriorityTaskWoken); }else