Merge pull request #410 from henrygab/typo_1

Remove unused variable.
This commit is contained in:
Ha Thach authored and GitHub committed 2020-01-09 09:46:34 +07:00
commit 1a123ecb44
1 file changed
+1 -1
+1 -1
View File
@@ -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