diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-10-14 18:20:23 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-10-14 18:20:23 +0000 |
commit | f1fead0c9b8a115648e42d4ba87a35f4504c5f77 (patch) | |
tree | 8147894b367b183e270007bb66410ad5a4e2644f | |
parent | 080889a135bb5a1e34f8acae3c0a330d6bd620f5 (diff) | |
download | rockbox-f1fead0c9b8a115648e42d4ba87a35f4504c5f77.tar.gz rockbox-f1fead0c9b8a115648e42d4ba87a35f4504c5f77.zip |
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
-rw-r--r-- | bootloader/main-pp.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
33 | #include "disk.h" | 33 | #include "disk.h" |
34 | #include "crc32-mi4.h" | 34 | #include "crc32-mi4.h" |
35 | #include <string.h> | 35 | #include <string.h> |
36 | #if defined(SANSA_E200) | ||
37 | #include "i2c.h" | ||
38 | #include "backlight-target.h" | ||
39 | #endif | ||
36 | #if defined(SANSA_E200) || defined(SANSA_C200) | 40 | #if defined(SANSA_E200) || defined(SANSA_C200) |
37 | #include "usb.h" | 41 | #include "usb.h" |
38 | #include "arcotg_udc.h" | 42 | #include "arcotg_udc.h" |
@@ -468,6 +472,10 @@ void* main(void) | |||
468 | lcd_init(); | 472 | lcd_init(); |
469 | font_init(); | 473 | font_init(); |
470 | button_init(); | 474 | button_init(); |
475 | #if defined(SANSA_E200) | ||
476 | i2c_init(); | ||
477 | __backlight_on(); | ||
478 | #endif | ||
471 | 479 | ||
472 | lcd_set_foreground(LCD_WHITE); | 480 | lcd_set_foreground(LCD_WHITE); |
473 | lcd_set_background(LCD_BLACK); | 481 | lcd_set_background(LCD_BLACK); |