From f1fead0c9b8a115648e42d4ba87a35f4504c5f77 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sun, 14 Oct 2007 18:20:23 +0000 Subject: Turn on the backlight in the e200 booloader. This is necessary for when we replace the sansa bootloader altogether. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15109 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/main-pp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index e6c0df0ae2..ed05b07fb9 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -33,6 +33,10 @@ #include "disk.h" #include "crc32-mi4.h" #include +#if defined(SANSA_E200) +#include "i2c.h" +#include "backlight-target.h" +#endif #if defined(SANSA_E200) || defined(SANSA_C200) #include "usb.h" #include "arcotg_udc.h" @@ -468,6 +472,10 @@ void* main(void) lcd_init(); font_init(); button_init(); +#if defined(SANSA_E200) + i2c_init(); + __backlight_on(); +#endif lcd_set_foreground(LCD_WHITE); lcd_set_background(LCD_BLACK); -- cgit v1.2.3