summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorRani Hod <raenye@gmail.com>2006-07-29 13:31:43 +0000
committerRani Hod <raenye@gmail.com>2006-07-29 13:31:43 +0000
commit78f425d17458deaac16cff2fdeff170f518e1dc6 (patch)
tree4f0cc8843f959f92e27c2852046f4347ba6d2c44 /bootloader
parentb156bbd6094fa5fd300d709c190bad0ee4ba72e5 (diff)
downloadrockbox-78f425d17458deaac16cff2fdeff170f518e1dc6.tar.gz
rockbox-78f425d17458deaac16cff2fdeff170f518e1dc6.tar.bz2
rockbox-78f425d17458deaac16cff2fdeff170f518e1dc6.zip
Applied FS #5727 (fix backlight flicker on X5) by Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10360 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index 8d4c1e27aa..181dbeade3 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -31,6 +31,9 @@
#include "font.h"
#include "adc.h"
#include "backlight.h"
+#ifdef IAUDIO_X5
+#include "backlight-target.h"
+#endif
#include "button.h"
#include "panic.h"
#include "power.h"
@@ -184,6 +187,7 @@ void main(void)
set_irq_level(0);
lcd_init();
+ __backlight_on();
font_init();
adc_init();
button_init();