summaryrefslogtreecommitdiffstats
path: root/bootloader
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 /bootloader
parente5f129728e325cbc3dadeb79cd49f19cd00e6585 (diff)
downloadrockbox-780cfff95690ef693051dafa0068682709169ed9.tar.gz
rockbox-780cfff95690ef693051dafa0068682709169ed9.tar.bz2
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
Diffstat (limited to 'bootloader')
-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)
backlight_init();
set_irq_level(0);
lcd_init();
-#ifdef IRIVER_H300_SERIES
- lcd_enable(true);
-#endif
font_init();
adc_init();
button_init();
@@ -305,6 +302,10 @@ void main(void)
lcd_putsxy((LCD_WIDTH-w)/2, (LCD_HEIGHT-h)/2, msg);
lcd_update();
+#ifdef IRIVER_H300_SERIES
+ sleep(HZ);
+#endif
+
ata_spin();
ata_enable(false);
usb_enable(true);