summaryrefslogtreecommitdiff
path: root/include/keyboard_scan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/keyboard_scan.h')
-rw-r--r--include/keyboard_scan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h
index 5ce76cfd1f..bc956cc685 100644
--- a/include/keyboard_scan.h
+++ b/include/keyboard_scan.h
@@ -55,7 +55,7 @@ enum boot_key {
BOOT_KEY_OTHER = -1, /* None of the above */
};
-#ifdef CONFIG_TASK_KEYSCAN
+#ifdef HAS_TASK_KEYSCAN
/**
* Return the key held down at boot time in addition to the keyboard-controlled
* reset keys. Returns BOOT_KEY_OTHER if none of the keys specifically checked
@@ -75,7 +75,7 @@ static inline enum boot_key keyboard_scan_get_boot_key(void)
*/
const uint8_t *keyboard_scan_get_state(void);
-#ifdef CONFIG_TASK_KEYSCAN
+#ifdef HAS_TASK_KEYSCAN
/**
* Enables/disables keyboard matrix scan.
*/