mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-28 05:58:36 -04:00
Correct the definition of StaticTask_t and add additional configASSERT() statements to catch future errors.
This commit is contained in:
parent
40201bc253
commit
5c75e5a38a
4 changed files with 58 additions and 3 deletions
|
@ -356,7 +356,7 @@ BaseType_t xReturn = pdFAIL;
|
|||
{
|
||||
/* Sanity check that the size of the structure used to declare a
|
||||
variable of type StaticTimer_t equals the size of the real timer
|
||||
structures. */
|
||||
structure. */
|
||||
volatile size_t xSize = sizeof( StaticTimer_t );
|
||||
configASSERT( xSize == sizeof( Timer_t ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue