diff options
Diffstat (limited to 'common/keyboard_8042.c')
-rw-r--r-- | common/keyboard_8042.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c index 4a058a4f58..a65c935558 100644 --- a/common/keyboard_8042.c +++ b/common/keyboard_8042.c @@ -792,7 +792,7 @@ static void keyboard_special(uint16_t k) static uint8_t s; static const uint16_t a[] = {0xe048, 0xe048, 0xe050, 0xe050, 0xe04b, 0xe04d, 0xe04b, 0xe04d, 0x0030, 0x001e}; -#ifdef CONFIG_TASK_LIGHTBAR +#ifdef HAS_TASK_LIGHTBAR /* Lightbar demo mode: keyboard can fake the battery state */ switch (k) { case 0xe048: /* up */ @@ -825,7 +825,7 @@ static void keyboard_special(uint16_t k) if (s == ARRAY_SIZE(a)) { s = 0; -#ifdef CONFIG_TASK_LIGHTBAR +#ifdef HAS_TASK_LIGHTBAR lightbar_sequence(LIGHTBAR_KONAMI); #endif } |