Void a few unused return values and make casting more C++ friendly.

This commit is contained in:
Richard Barry 2013-07-23 09:53:24 +00:00
parent bb2093cf5d
commit 8ceb665994
4 changed files with 11 additions and 11 deletions

View file

@ -121,7 +121,7 @@ typedef xQueueHandle xSemaphoreHandle;
( xSemaphore ) = xQueueGenericCreate( ( unsigned portBASE_TYPE ) 1, semSEMAPHORE_QUEUE_ITEM_LENGTH, queueQUEUE_TYPE_BINARY_SEMAPHORE ); \
if( ( xSemaphore ) != NULL ) \
{ \
xSemaphoreGive( ( xSemaphore ) ); \
( void ) xSemaphoreGive( ( xSemaphore ) ); \
} \
}