Fix keil compilation error (#418)
* Fix compilation error when using the Keil tools with the Keil compiler.
This commit is contained in:
3
queue.c
3
queue.c
@ -2756,11 +2756,10 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
|
|||||||
const char * pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
const char * pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
||||||
{
|
{
|
||||||
UBaseType_t ux;
|
UBaseType_t ux;
|
||||||
|
QueueRegistryItem_t * pxEntryToWrite = NULL;
|
||||||
|
|
||||||
configASSERT( xQueue );
|
configASSERT( xQueue );
|
||||||
|
|
||||||
QueueRegistryItem_t * pxEntryToWrite = NULL;
|
|
||||||
|
|
||||||
if( pcQueueName != NULL )
|
if( pcQueueName != NULL )
|
||||||
{
|
{
|
||||||
/* See if there is an empty space in the registry. A NULL name denotes
|
/* See if there is an empty space in the registry. A NULL name denotes
|
||||||
|
Reference in New Issue
Block a user