From d89df385fe8b2f1dd85e2220892e509b8f98b0f1 Mon Sep 17 00:00:00 2001 From: rtel Date: Tue, 29 Mar 2016 11:08:42 +0000 Subject: - Rework the StaticAllocation.c common demo file to reflect the changes to the static allocation object create functions from the previous check-in. - Correct various typos in comments. - Add xTimerGetPeriod() function (feature request). git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2431 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Source/include/semphr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FreeRTOS/Source/include/semphr.h') diff --git a/FreeRTOS/Source/include/semphr.h b/FreeRTOS/Source/include/semphr.h index 29a0f98f5..eff0bfd30 100644 --- a/FreeRTOS/Source/include/semphr.h +++ b/FreeRTOS/Source/include/semphr.h @@ -1152,11 +1152,11 @@ typedef QueueHandle_t SemaphoreHandle_t; /** * semphr.h - *
TaskHandle_t xSemaphoreGetCount( SemaphoreHandle_t xMutex );
+ *
UBaseType_t uxSemaphoreGetCount( SemaphoreHandle_t xMutex );
* - * If the semaphore is a counting semaphore then xSemaphoreGetCount() returns + * If the semaphore is a counting semaphore then uxSemaphoreGetCount() returns * its current count value. If the semaphore is a binary semaphore then - * xSemaphoreGetCount() returns 1 if the semaphore is available, and 0 if the + * uxSemaphoreGetCount() returns 1 if the semaphore is available, and 0 if the * semaphore is not available. * */ -- cgit v1.2.1