Fix stale semaphore reference in timerIsr comment
This commit is contained in:
@@ -43,7 +43,7 @@ void InterruptHandler_Init(void)
|
||||
|
||||
/**
|
||||
* Called every ISR_TIME_US (10 ms).
|
||||
* Kept minimal: advance tDecis and wake beepTask via semaphore.
|
||||
* Kept minimal: advance tDecis and wake beepTask via task notification.
|
||||
*/
|
||||
static IRAM_ATTR void timerIsr(void)
|
||||
{
|
||||
@@ -54,7 +54,7 @@ static IRAM_ATTR void timerIsr(void)
|
||||
tDecis++;
|
||||
}
|
||||
BaseType_t woken = pdFALSE;
|
||||
xSemaphoreGiveFromISR(beepSemaphore, &woken);
|
||||
vTaskNotifyGiveFromISR(beepTaskHandle, &woken);
|
||||
portYIELD_FROM_ISR(woken);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user