Skip to content

Commit 5a195b5

Browse files
authored
Allow for both CHECK_FOR_STACK_OVERFLOW options.
configCHECK_FOR_STACK_OVERFLOW can take values, 0 = no check, 1 = simple check, 2 = exhaustive check. Allow for all options.
1 parent 63c0532 commit 5a195b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/variantHooks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void vApplicationMallocFailedHook( void )
180180
/*-----------------------------------------------------------*/
181181

182182

183-
#if ( configCHECK_FOR_STACK_OVERFLOW == 1 )
183+
#if ( configCHECK_FOR_STACK_OVERFLOW >= 1 )
184184
/*---------------------------------------------------------------------------*\
185185
Usage:
186186
called by task system when a stack overflow is noticed

0 commit comments

Comments
 (0)