summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-11 15:37:08 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-11 15:37:08 +0000
commit780cfff95690ef693051dafa0068682709169ed9 (patch)
tree12637c900ebf6286ed5daa8c5612b3334c210b38
parente5f129728e325cbc3dadeb79cd49f19cd00e6585 (diff)
downloadrockbox-780cfff95690ef693051dafa0068682709169ed9.tar.gz
rockbox-780cfff95690ef693051dafa0068682709169ed9.zip
H300: Removed lcd_enable() and added a delay to let the hard drive settle before entering USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8335 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index 40f7a0510d..7c5041f4cc 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -217,9 +217,6 @@ void main(void)
217 backlight_init(); 217 backlight_init();
218 set_irq_level(0); 218 set_irq_level(0);
219 lcd_init(); 219 lcd_init();
220#ifdef IRIVER_H300_SERIES
221 lcd_enable(true);
222#endif
223 font_init(); 220 font_init();
224 adc_init(); 221 adc_init();
225 button_init(); 222 button_init();
@@ -305,6 +302,10 @@ void main(void)
305 lcd_putsxy((LCD_WIDTH-w)/2, (LCD_HEIGHT-h)/2, msg); 302 lcd_putsxy((LCD_WIDTH-w)/2, (LCD_HEIGHT-h)/2, msg);
306 lcd_update(); 303 lcd_update();
307 304
305#ifdef IRIVER_H300_SERIES
306 sleep(HZ);
307#endif
308
308 ata_spin(); 309 ata_spin();
309 ata_enable(false); 310 ata_enable(false);
310 usb_enable(true); 311 usb_enable(true);