From 6edfcbf1d6c3669b5f1285841a6bbdad00a0c0ef Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sat, 23 Oct 2004 23:12:48 +0000 Subject: Reverted conditional shutdown config flush git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5334 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index 5d64b538f0..b4a21a1dac 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -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); - } + ata_flush(); + ata_spindown(1); + while(ata_disk_is_active()) + sleep(HZ/10); + mp3_shutdown(); #if CONFIG_KEYPAD == ONDIO_PAD backlight_off(); -- cgit v1.2.3