Skip to content

Commit b7e9b2d

Browse files
committed
Rename function name
1 parent 937dcf1 commit b7e9b2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/stack_macros.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
/* Only the current stack state is to be checked. */
5959
#define taskCHECK_FOR_STACK_OVERFLOW() \
6060
do { \
61-
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe(); \
61+
TCB_t * const pxConstCurrentTCB = prvGetCurrentTCBUnsafe(); \
6262
\
6363
/* Is the currently saved stack pointer within the stack limit? */ \
6464
if( pxConstCurrentTCB->pxTopOfStack <= pxConstCurrentTCB->pxStack + portSTACK_LIMIT_PADDING ) \
@@ -76,7 +76,7 @@
7676
/* Only the current stack state is to be checked. */
7777
#define taskCHECK_FOR_STACK_OVERFLOW() \
7878
do { \
79-
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe(); \
79+
TCB_t * const pxConstCurrentTCB = prvGetCurrentTCBUnsafe(); \
8080
\
8181
/* Is the currently saved stack pointer within the stack limit? */ \
8282
if( pxConstCurrentTCB->pxTopOfStack >= pxConstCurrentTCB->pxEndOfStack - portSTACK_LIMIT_PADDING ) \
@@ -93,7 +93,7 @@
9393

9494
#define taskCHECK_FOR_STACK_OVERFLOW() \
9595
do { \
96-
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe(); \
96+
TCB_t * const pxConstCurrentTCB = prvGetCurrentTCBUnsafe(); \
9797
const uint32_t * const pulStack = ( uint32_t * ) pxConstCurrentTCB->pxStack; \
9898
const uint32_t ulCheckValue = ( uint32_t ) 0xa5a5a5a5U; \
9999
\
@@ -114,7 +114,7 @@
114114

115115
#define taskCHECK_FOR_STACK_OVERFLOW() \
116116
do { \
117-
TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCBUnsafe(); \
117+
TCB_t * const pxConstCurrentTCB = prvGetCurrentTCBUnsafe(); \
118118
int8_t * pcEndOfStack = ( int8_t * ) pxConstCurrentTCB->pxEndOfStack; \
119119
static const uint8_t ucExpectedStackBytes[] = { tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
120120
tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \

0 commit comments

Comments
 (0)