summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-11-08 13:20:43 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-11-08 13:20:43 +0000
commitd15d15513dabca401aea1c18659c92320531ad7f (patch)
tree602879f03be8b13e3be60692f808cf5d0e24afa2
parentf540e5cecf1a6f776b13bd3d701965caa620201d (diff)
downloadrockbox-d15d15513dabca401aea1c18659c92320531ad7f.tar.gz
rockbox-d15d15513dabca401aea1c18659c92320531ad7f.zip
Turn off the recording LED before reporting disk-full errors. Fixes bug report #1061647
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5391 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/recording.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index bf25c877b5..d67124a6cf 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -669,6 +669,9 @@ bool recording_screen(void)
done = true;
}
}
+
+ invert_led(false);
+
if(mpeg_status() & MPEG_STATUS_ERROR)
{
splash(0, true, str(LANG_DISK_FULL));
@@ -684,8 +687,6 @@ bool recording_screen(void)
}
}
- invert_led(false);
-
mpeg_init_playback();
sound_settings_apply();