summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
commitb58d3656d79e5f9752a22d55c139294412084e4f (patch)
treebd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/recorder
parentc54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff)
downloadrockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.gz
rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.zip
FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index b4f7d25cf8..34283b6cb5 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1108,6 +1108,7 @@ bool recording_screen(bool no_source)
1108 1108
1109 struct audio_recording_options rec_options; 1109 struct audio_recording_options rec_options;
1110 rec_status = RCSTAT_IN_RECSCREEN; 1110 rec_status = RCSTAT_IN_RECSCREEN;
1111 push_current_activity(ACTIVITY_RECORDING);
1111 1112
1112#if (CONFIG_STORAGE & STORAGE_ATA) && (CONFIG_LED == LED_REAL) \ 1113#if (CONFIG_STORAGE & STORAGE_ATA) && (CONFIG_LED == LED_REAL) \
1113 && !defined(SIMULATOR) 1114 && !defined(SIMULATOR)
@@ -2089,7 +2090,7 @@ rec_abort:
2089#endif 2090#endif
2090 2091
2091 settings_save(); 2092 settings_save();
2092 2093 pop_current_activity();
2093 return (rec_status & RCSTAT_BEEN_IN_USB_MODE) != 0; 2094 return (rec_status & RCSTAT_BEEN_IN_USB_MODE) != 0;
2094} /* recording_screen */ 2095} /* recording_screen */
2095 2096