Replace semaphore wait with direct task notification in beepTask
This commit is contained in:
@@ -113,7 +113,7 @@ static void beepTask(void *pvParameters)
|
||||
|
||||
for (;;)
|
||||
{
|
||||
xSemaphoreTake(beepSemaphore, portMAX_DELAY);
|
||||
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
|
||||
|
||||
const uint32_t tMillis = millis();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user