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:
parent
e5f129728e
commit
780cfff956
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue