mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Update pxCurrentTCB
This commit is contained in:
parent
69581faaa0
commit
080b840a01
2
tasks.c
2
tasks.c
|
@ -463,7 +463,7 @@ typedef tskTCB TCB_t;
|
|||
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-84 */
|
||||
/* coverity[misra_c_2012_rule_8_4_violation] */
|
||||
portDONT_DISCARD PRIVILEGED_DATA TCB_t * volatile pxCurrentTCBs[ configNUMBER_OF_CORES ];
|
||||
#define pxCurrentTCB prvGetCurrentTCBUnsafe()
|
||||
#define pxCurrentTCB prvGetCurrentTaskTCBUnsafe()
|
||||
#endif
|
||||
|
||||
/* Lists for ready and blocked tasks. --------------------
|
||||
|
|
Loading…
Reference in a new issue