summaryrefslogtreecommitdiffstats
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index a31acbcf0b..1a1d576e67 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -702,7 +702,7 @@ static int runcurrent(void)
current = CURRENT_USB;
}
-#if defined(CONFIG_BACKLIGHT) && !defined(BOOTLOADER)
+#if CONFIG_BACKLIGHT && !defined(BOOTLOADER)
if (backlight_get_current_timeout() == 0) /* LED always on */
current += CURRENT_BACKLIGHT;
#endif