diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-11 15:37:08 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-11 15:37:08 +0000 |
commit | 780cfff95690ef693051dafa0068682709169ed9 (patch) | |
tree | 12637c900ebf6286ed5daa8c5612b3334c210b38 /bootloader/main.c | |
parent | e5f129728e325cbc3dadeb79cd49f19cd00e6585 (diff) | |
download | rockbox-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
Diffstat (limited to 'bootloader/main.c')
-rw-r--r-- | bootloader/main.c | 7 |
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); |