summaryrefslogtreecommitdiff
path: root/apps/radio/radio.c
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/radio/radio.c
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/radio/radio.c')
-rw-r--r--apps/radio/radio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c
index 5c0b884cd1..4da37b2ca5 100644
--- a/apps/radio/radio.c
+++ b/apps/radio/radio.c
@@ -403,6 +403,7 @@ void radio_screen(void)
403#endif 403#endif
404 404
405 /* change status to "in screen" */ 405 /* change status to "in screen" */
406 push_current_activity(ACTIVITY_FM);
406 in_screen = true; 407 in_screen = true;
407 408
408 if(radio_preset_count() <= 0) 409 if(radio_preset_count() <= 0)
@@ -868,6 +869,7 @@ void radio_screen(void)
868 cpu_idle_mode(false); 869 cpu_idle_mode(false);
869#endif 870#endif
870 fms_fix_displays(FMS_EXIT); 871 fms_fix_displays(FMS_EXIT);
872 pop_current_activity();
871 in_screen = false; 873 in_screen = false;
872} /* radio_screen */ 874} /* radio_screen */
873 875