mpu_stack_guard_test: fix stack declaration

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-07-25 19:05:16 -07:00 committed by Anas Nashif
parent 010498da62
commit 768e2a9617

View file

@ -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;