summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/buddy/ec.tasklist1
-rw-r--r--include/config.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/board/buddy/ec.tasklist b/board/buddy/ec.tasklist
index ac1281571f..ea633dbbca 100644
--- a/board/buddy/ec.tasklist
+++ b/board/buddy/ec.tasklist
@@ -20,6 +20,7 @@
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(POWERBTN, power_button_task, NULL, TASK_STACK_SIZE)
diff --git a/include/config.h b/include/config.h
index 1f31b1f7f1..151a9e3d55 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1178,7 +1178,9 @@
#endif
#ifndef HAS_TASK_KEYSCAN
+#ifndef HAS_TASK_KEYPROTO
#undef CONFIG_KEYBOARD_PROTOCOL_8042
+#endif
#undef CONFIG_KEYBOARD_PROTOCOL_MKBP
#endif