From 7fffc339f84ecf47e68fbb7bb876c31f0a59ba38 Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Sun, 6 Dec 2020 10:15:30 +0100 Subject: [PATCH] Threads: align keyboard task stack size to other tasks --- openrtx/src/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/src/threads.c b/openrtx/src/threads.c index ed5b0a97..e0f8c1db 100644 --- a/openrtx/src/threads.c +++ b/openrtx/src/threads.c @@ -55,7 +55,7 @@ static CPU_STK ui_stk[UI_TASK_STKSIZE/sizeof(CPU_STK)]; /* Keyboard task control block and stack */ static OS_TCB kbd_tcb; -static CPU_STK kbd_stk[KBD_TASK_STKSIZE/4]; +static CPU_STK kbd_stk[KBD_TASK_STKSIZE/sizeof(CPU_STK)]; /* Device task control block and stack */ static OS_TCB dev_tcb;