summaryrefslogtreecommitdiff
path: root/board/drawcia
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2020-11-25 12:15:11 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-30 23:56:30 +0000
commit26631f3e43d535a74f21bad5b8f1fef328692b58 (patch)
treef9080b796f18c70d82ab8e35bc4d0bdabb0b8d5e /board/drawcia
parentc8a7b8afc1b33fc1f8c3cfd7f2e1d862ff2b3a3f (diff)
downloadchrome-ec-26631f3e43d535a74f21bad5b8f1fef328692b58.tar.gz
drawcia: Enlarge KEYSCAN task
This commit enlarge keyboard scan task stack to prevent stack overflow. BUG=b:174190303 BRANCH=firmware-dedede-13606.B-master TEST=On drawcia. Make sure KEYSCAN is not overflow with volup+H+alt keys. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I99e180eca8e6665c5ab9f52d8bc7dcd5ec55e678 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2557772 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/drawcia')
-rw-r--r--board/drawcia/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/drawcia/ec.tasklist b/board/drawcia/ec.tasklist
index 75181a4531..2b8c14e25d 100644
--- a/board/drawcia/ec.tasklist
+++ b/board/drawcia/ec.tasklist
@@ -18,7 +18,7 @@
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(POWERBTN, power_button_task, NULL, VENTI_TASK_STACK_SIZE) \
- TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(PD_C0, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \
TASK_ALWAYS(PD_C1, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \
TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, ULTRA_TASK_STACK_SIZE)