Skip to content

Commit b357697

Browse files
committed
Fix tests
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent 90d8db5 commit b357697

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/stack_macros.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,11 @@
238238

239239
/* Remove stack overflow macro if not being used. */
240240
#ifndef taskCHECK_FOR_STACK_OVERFLOW
241-
#define taskCHECK_FOR_STACK_OVERFLOW()
241+
#if ( configNUMBER_OF_CORES == 1 )
242+
#define taskCHECK_FOR_STACK_OVERFLOW()
243+
#else
244+
#define taskCHECK_FOR_STACK_OVERFLOW( xCoreID )
245+
#endif
242246
#endif
243247

244248

0 commit comments

Comments
 (0)