Skip to content

Commit 1a123ec

Browse files
authored
Merge pull request #410 from henrygab/typo_1
Remove unused variable.
2 parents 7003e18 + 80e1b12 commit 1a123ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/nRF5/utility/SoftwareTimer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool SoftwareTimer::start(void)
4444
bool ret = true;
4545
if ( isInISR() )
4646
{
47-
BaseType_t ret, xHigherPriorityTaskWoken = pdFALSE;
47+
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
4848
ret = (pdPASS == xTimerStartFromISR(_handle, &xHigherPriorityTaskWoken));
4949
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
5050
}else

0 commit comments

Comments
 (0)