diff options
Diffstat (limited to 'bootloader/sansa_as3525.c')
-rw-r--r-- | bootloader/sansa_as3525.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c index 48f21bc196..7e6ac2dddb 100644 --- a/bootloader/sansa_as3525.c +++ b/bootloader/sansa_as3525.c @@ -27,7 +27,7 @@ #include <inttypes.h> #include "config.h" #include "lcd.h" -#include "backlight-target.h" +#include "backlight.h" #include "button-target.h" #include "common.h" #include "storage.h" @@ -48,14 +48,12 @@ void main(void) system_init(); kernel_init(); -#ifdef SANSA_C200V2 - /* stop here */ - while(1); -#endif + enable_irq(); + lcd_init(); show_logo(); - _backlight_on(); + backlight_init(); button_init_device(); int btn = button_read_device(); @@ -79,8 +77,6 @@ void main(void) verbose = true; } - enable_irq(); - ret = storage_init(); if(ret < 0) error(EATA,ret); |