summaryrefslogtreecommitdiff
path: root/common/gaia_power.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gaia_power.c')
-rw-r--r--common/gaia_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gaia_power.c b/common/gaia_power.c
index 4076e2b130..fe83b66efc 100644
--- a/common/gaia_power.c
+++ b/common/gaia_power.c
@@ -194,7 +194,7 @@ static int check_for_power_off_event(void)
pressed = 1;
}
-#ifdef CONFIG_TASK_KEYSCAN
+#ifdef HAS_TASK_KEYSCAN
/* Dis/Enable keyboard scanning when the power button state changes */
if (!pressed || pressed != power_button_was_pressed)
keyboard_scan_enable(!pressed);