|
68 | 68 |
|
69 | 69 | #if ( configNUMBER_OF_CORES == 1 )
|
70 | 70 |
|
71 |
| -/* Only the current stack state is to be checked. */ |
72 |
| - #define taskCHECK_FOR_STACK_OVERFLOW() \ |
| 71 | + /* Only the current stack state is to be checked. */ |
| 72 | + #define taskCHECK_FOR_STACK_OVERFLOW() \ |
73 | 73 | do \
|
74 | 74 | { \
|
75 | 75 | /* Is the currently saved stack pointer within the stack limit? */ \
|
|
82 | 82 |
|
83 | 83 | #else /* if ( configNUMBER_OF_CORES == 1 ) */
|
84 | 84 |
|
85 |
| -/* Only the current stack state is to be checked. */ |
86 |
| - #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
| 85 | + /* Only the current stack state is to be checked. */ |
| 86 | + #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
87 | 87 | do \
|
88 | 88 | { \
|
89 | 89 | const TCB_t * const pxTCB = pxCurrentTCBs[ xCoreID ]; \
|
|
105 | 105 |
|
106 | 106 | #if ( configNUMBER_OF_CORES == 1 )
|
107 | 107 |
|
108 |
| -/* Only the current stack state is to be checked. */ |
109 |
| - #define taskCHECK_FOR_STACK_OVERFLOW() \ |
| 108 | + /* Only the current stack state is to be checked. */ |
| 109 | + #define taskCHECK_FOR_STACK_OVERFLOW() \ |
110 | 110 | do \
|
111 | 111 | { \
|
112 | 112 | /* Is the currently saved stack pointer within the stack limit? */ \
|
|
119 | 119 |
|
120 | 120 | #else /* if ( configNUMBER_OF_CORES == 1 ) */
|
121 | 121 |
|
122 |
| -/* Only the current stack state is to be checked. */ |
123 |
| - #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
| 122 | + /* Only the current stack state is to be checked. */ |
| 123 | + #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
124 | 124 | do \
|
125 | 125 | { \
|
126 | 126 | const TCB_t * const pxTCB = pxCurrentTCBs[ xCoreID ]; \
|
|
142 | 142 |
|
143 | 143 | #if ( configNUMBER_OF_CORES == 1 )
|
144 | 144 |
|
145 |
| - #define taskCHECK_FOR_STACK_OVERFLOW() \ |
| 145 | + #define taskCHECK_FOR_STACK_OVERFLOW() \ |
146 | 146 | do \
|
147 | 147 | { \
|
148 | 148 | const uint32_t * const pulStack = ( uint32_t * ) pxCurrentTCB->pxStack; \
|
|
161 | 161 |
|
162 | 162 | #else /* if ( configNUMBER_OF_CORES == 1 ) */
|
163 | 163 |
|
164 |
| - #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
| 164 | + #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
165 | 165 | do \
|
166 | 166 | { \
|
167 | 167 | const TCB_t * const pxTCB = pxCurrentTCBs[ xCoreID ]; \
|
|
188 | 188 |
|
189 | 189 | #if ( configNUMBER_OF_CORES == 1 )
|
190 | 190 |
|
191 |
| - #define taskCHECK_FOR_STACK_OVERFLOW() \ |
| 191 | + #define taskCHECK_FOR_STACK_OVERFLOW() \ |
192 | 192 | do \
|
193 | 193 | { \
|
194 | 194 | int8_t * pcEndOfStack = ( int8_t * ) pxCurrentTCB->pxEndOfStack; \
|
|
210 | 210 |
|
211 | 211 | #else /* if ( configNUMBER_OF_CORES == 1 ) */
|
212 | 212 |
|
213 |
| - #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
| 213 | + #define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \ |
214 | 214 | do \
|
215 | 215 | { \
|
216 | 216 | const TCB_t * const pxTCB = pxCurrentTCBs[ xCoreID ]; \
|
|
0 commit comments