summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 2a2155df8a..12acca00a7 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -725,7 +725,6 @@ void backlight_init(void)
725{ 725{
726 queue_init(&backlight_queue, true); 726 queue_init(&backlight_queue, true);
727 727
728#ifndef SIMULATOR
729 if (_backlight_init()) 728 if (_backlight_init())
730 { 729 {
731#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM) 730#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM)
@@ -734,7 +733,6 @@ void backlight_init(void)
734 bl_dim_fraction = (BL_PWM_COUNT<<16); 733 bl_dim_fraction = (BL_PWM_COUNT<<16);
735#endif 734#endif
736 } 735 }
737#endif
738 /* Leave all lights as set by the bootloader here. The settings load will 736 /* Leave all lights as set by the bootloader here. The settings load will
739 * call the appropriate backlight_set_*() functions, only changing light 737 * call the appropriate backlight_set_*() functions, only changing light
740 * status if necessary. */ 738 * status if necessary. */