summaryrefslogtreecommitdiff
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 e1ec1a6017..3d87773394 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -708,7 +708,7 @@ static int runcurrent(void)
708 current = CURRENT_USB; 708 current = CURRENT_USB;
709 } 709 }
710 710
711#if CONFIG_BACKLIGHT && !defined(BOOTLOADER) 711#if defined(HAVE_BACKLIGHT) && !defined(BOOTLOADER)
712 if (backlight_get_current_timeout() == 0) /* LED always on */ 712 if (backlight_get_current_timeout() == 0) /* LED always on */
713 current += CURRENT_BACKLIGHT; 713 current += CURRENT_BACKLIGHT;
714#endif 714#endif