1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2006-01-11 15:37:08 +00:00
parent e5f129728e
commit 780cfff956

View file

@ -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);