Merge branch 'bugfix/freertos_unused_xSize' into 'master'
freertos: Fix unused variable warning See merge request idf/esp-idf!4281
This commit is contained in:
commit
298fa2168a
2 changed files with 2 additions and 0 deletions
|
@ -338,6 +338,7 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
||||||
the real queue and semaphore structures. */
|
the real queue and semaphore structures. */
|
||||||
volatile size_t xSize = sizeof( StaticQueue_t );
|
volatile size_t xSize = sizeof( StaticQueue_t );
|
||||||
configASSERT( xSize == sizeof( Queue_t ) );
|
configASSERT( xSize == sizeof( Queue_t ) );
|
||||||
|
( void ) xSize; /* Keeps lint quiet when configASSERT() is not defined. */
|
||||||
}
|
}
|
||||||
#endif /* configASSERT_DEFINED */
|
#endif /* configASSERT_DEFINED */
|
||||||
|
|
||||||
|
|
|
@ -347,6 +347,7 @@ BaseType_t xReturn = pdFAIL;
|
||||||
structures. */
|
structures. */
|
||||||
volatile size_t xSize = sizeof( StaticTimer_t );
|
volatile size_t xSize = sizeof( StaticTimer_t );
|
||||||
configASSERT( xSize == sizeof( Timer_t ) );
|
configASSERT( xSize == sizeof( Timer_t ) );
|
||||||
|
( void ) xSize; /* Keeps lint quiet when configASSERT() is not defined. */
|
||||||
}
|
}
|
||||||
#endif /* configASSERT_DEFINED */
|
#endif /* configASSERT_DEFINED */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue