diff options
Diffstat (limited to 'bootloader')
-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); |