diff --git a/src/InterruptHandler.cpp b/src/InterruptHandler.cpp index 31968c4..eedf0eb 100644 --- a/src/InterruptHandler.cpp +++ b/src/InterruptHandler.cpp @@ -113,7 +113,7 @@ static void beepTask(void *pvParameters) for (;;) { - xSemaphoreTake(beepSemaphore, portMAX_DELAY); + ulTaskNotifyTake(pdTRUE, portMAX_DELAY); const uint32_t tMillis = millis();