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
11
apps/misc.c
11
apps/misc.c
|
@ -219,12 +219,11 @@ bool clean_shutdown(void)
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
splash(0, true, str(LANG_SHUTTINGDOWN));
|
splash(0, true, str(LANG_SHUTTINGDOWN));
|
||||||
mpeg_stop();
|
mpeg_stop();
|
||||||
if (ata_disk_is_active()) {
|
ata_flush();
|
||||||
ata_flush();
|
ata_spindown(1);
|
||||||
ata_spindown(1);
|
while(ata_disk_is_active())
|
||||||
while(ata_disk_is_active())
|
sleep(HZ/10);
|
||||||
sleep(HZ/10);
|
|
||||||
}
|
|
||||||
mp3_shutdown();
|
mp3_shutdown();
|
||||||
#if CONFIG_KEYPAD == ONDIO_PAD
|
#if CONFIG_KEYPAD == ONDIO_PAD
|
||||||
backlight_off();
|
backlight_off();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue