From 9b53e2b64fe9327f55eb12b393a91c666b836dde Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Tue, 19 May 2020 22:45:48 +0200 Subject: [PATCH] added informative comment for counting semaphore --- osal/FreeRTOS/CountingSemaphore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osal/FreeRTOS/CountingSemaphore.cpp b/osal/FreeRTOS/CountingSemaphore.cpp index adf3f23c..2b81848a 100644 --- a/osal/FreeRTOS/CountingSemaphore.cpp +++ b/osal/FreeRTOS/CountingSemaphore.cpp @@ -1,6 +1,8 @@ #include #include +// Make sure #define configUSE_COUNTING_SEMAPHORES 1 is set in +// free FreeRTOSConfig.h file. CountingSemaphore::CountingSemaphore(uint8_t count, uint8_t initCount): count(count), initCount(initCount) { handle = xSemaphoreCreateCounting(count, initCount);