mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Add usage of portREMOVE_STATIC_QUALIFIER.
This commit is contained in:
parent
576a25a098
commit
8ce7a79937
|
@ -60,7 +60,6 @@
|
|||
*/
|
||||
#define tskIDLE_STACK_SIZE configMINIMAL_STACK_SIZE
|
||||
|
||||
|
||||
/*
|
||||
* Task control block. A task control block (TCB) is allocated to each task,
|
||||
* and stores the context of the task.
|
||||
|
@ -92,6 +91,14 @@ typedef struct tskTaskControlBlock
|
|||
|
||||
} tskTCB;
|
||||
|
||||
/*
|
||||
* Some kernel aware debuggers require data to be viewed to be global, rather
|
||||
* than file scope.
|
||||
*/
|
||||
#ifdef portREMOVE_STATIC_QUALIFIER
|
||||
#define static
|
||||
#endif
|
||||
|
||||
/*lint -e956 */
|
||||
|
||||
tskTCB * volatile pxCurrentTCB = NULL;
|
||||
|
|
Loading…
Reference in a new issue