aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmsg.c')
-rw-r--r--test/testmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmsg.c b/test/testmsg.c
index fcf811fa1..735375a16 100644
--- a/test/testmsg.c
+++ b/test/testmsg.c
@@ -47,7 +47,7 @@ static msg_t thread(void *p) {
static void msg1_execute(void) {
msg_t msg;
- threads[0] = chThdCreateStatic(wa[0], STKSIZE, chThdGetPriority()-1, thread, chThdSelf());
+ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority()-1, thread, chThdSelf());
do {
chMsgRelease(msg = chMsgWait());
if (msg)