\r
/**\r
* semphr. h\r
- * <pre>xSemaphoreCreateMutex( xSemaphoreHandle xSemaphore )</pre>\r
+ * <pre>xSemaphoreHandle xSemaphoreCreateMutex( void )</pre>\r
*\r
* <i>Macro</i> that implements a mutex semaphore by using the existing queue \r
* mechanism.\r
* semaphore and another always 'takes' the semaphore) and from within interrupt \r
* service routines.\r
*\r
- * @param xSemaphore Handle to the created mutex semaphore. Should be of type \r
+ * @return xSemaphore Handle to the created mutex semaphore. Should be of type \r
* xSemaphoreHandle.\r
*\r
* Example usage:\r
\r
void vATask( void * pvParameters )\r
{\r
- // Semaphore cannot be used before a call to vSemaphoreCreateBinary ().\r
+ // Semaphore cannot be used before a call to xSemaphoreCreateMutex().\r
// This is a macro so pass the variable in directly.\r
- vSemaphoreCreateMutex( xSemaphore );\r
+ xSemaphore = xSemaphoreCreateMutex();\r
\r
if( xSemaphore != NULL )\r
{\r