diff options
Diffstat (limited to 'supervisor/shared/stack.h')
| -rwxr-xr-x | supervisor/shared/stack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/supervisor/shared/stack.h b/supervisor/shared/stack.h index 8f1e881f2..1fb43be57 100755 --- a/supervisor/shared/stack.h +++ b/supervisor/shared/stack.h @@ -40,7 +40,9 @@ uint32_t get_current_stack_size(void); bool stack_ok(void); // Use this after any calls into a library which may use a lot of stack. This will raise a Python -// exception when the stack has likely overwritten a portio of the heap. +// exception when the stack has likely overwritten a portion of the heap. void assert_heap_ok(void); +#define STACK_CANARY_VALUE 0x017829ef + #endif // MICROPY_INCLUDED_SUPERVISOR_STACK_H |
