summaryrefslogtreecommitdiff
path: root/bootloader/sansa_as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/sansa_as3525.c')
-rw-r--r--bootloader/sansa_as3525.c12
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 @@
27#include <inttypes.h> 27#include <inttypes.h>
28#include "config.h" 28#include "config.h"
29#include "lcd.h" 29#include "lcd.h"
30#include "backlight-target.h" 30#include "backlight.h"
31#include "button-target.h" 31#include "button-target.h"
32#include "common.h" 32#include "common.h"
33#include "storage.h" 33#include "storage.h"
@@ -48,14 +48,12 @@ void main(void)
48 system_init(); 48 system_init();
49 kernel_init(); 49 kernel_init();
50 50
51#ifdef SANSA_C200V2 51 enable_irq();
52 /* stop here */ 52
53 while(1);
54#endif
55 lcd_init(); 53 lcd_init();
56 show_logo(); 54 show_logo();
57 55
58 _backlight_on(); 56 backlight_init();
59 57
60 button_init_device(); 58 button_init_device();
61 int btn = button_read_device(); 59 int btn = button_read_device();
@@ -79,8 +77,6 @@ void main(void)
79 verbose = true; 77 verbose = true;
80 } 78 }
81 79
82 enable_irq();
83
84 ret = storage_init(); 80 ret = storage_init();
85 if(ret < 0) 81 if(ret < 0)
86 error(EATA,ret); 82 error(EATA,ret);