forked from len0rd/rockbox
Reverted conditional shutdown config flush
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5334 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de79e68b09
commit
6edfcbf1d6
1 changed files with 5 additions and 6 deletions
|
@ -219,12 +219,11 @@ bool clean_shutdown(void)
|
|||
lcd_clear_display();
|
||||
splash(0, true, str(LANG_SHUTTINGDOWN));
|
||||
mpeg_stop();
|
||||
if (ata_disk_is_active()) {
|
||||
ata_flush();
|
||||
ata_spindown(1);
|
||||
while(ata_disk_is_active())
|
||||
sleep(HZ/10);
|
||||
}
|
||||
|
||||
mp3_shutdown();
|
||||
#if CONFIG_KEYPAD == ONDIO_PAD
|
||||
backlight_off();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue