Correct a bug in FreeRTOS
As listed in https://www.freertos.org/a00104.html#mailing_list: "The definition of the StaticTask_t structure is incorrect if INCLUDE_xTaskAbortDelay is set to 1, or the MPU is used. The corrected structure definition can be obtained from here." https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/include/FreeRTOS.h#l978
This commit is contained in:
parent
a7503e1d30
commit
bee82cb7c6
|
@ -948,6 +948,9 @@ typedef struct xSTATIC_TCB
|
|||
#if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
|
||||
uint8_t uxDummy20;
|
||||
#endif
|
||||
#if( INCLUDE_xTaskAbortDelay == 1 )
|
||||
uint8_t ucDummy21;
|
||||
#endif
|
||||
|
||||
} StaticTask_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue