mpu_stack_guard_test: fix stack declaration
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
010498da62
commit
768e2a9617
|
@ -24,7 +24,7 @@
|
|||
struct stack_guard_buffer {
|
||||
/* Make sure canary is not optimized by the compiler */
|
||||
volatile u32_t canary;
|
||||
u8_t stack[STACKSIZE];
|
||||
K_THREAD_STACK_MEMBER(stack, STACKSIZE);
|
||||
};
|
||||
|
||||
struct stack_guard_buffer buf;
|
||||
|
|
Loading…
Reference in a new issue