summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-29 11:19:55 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-29 11:19:55 +0000
commit8b9c64f19db3abf8872b8dd85ea8ee1343f322e3 (patch)
treedc6eec9593b29c60280216896736cdc71fee7876
parent58384f03fb0c46eb642d7a8af9c32c0ecd91ad25 (diff)
downloadrockbox-8b9c64f19db3abf8872b8dd85ea8ee1343f322e3.tar.gz
rockbox-8b9c64f19db3abf8872b8dd85ea8ee1343f322e3.zip
iriver: Idle CPU in the FM radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7570 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/radio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 895c7872e9..678da80034 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -274,6 +274,8 @@ bool radio_screen(void)
274 str(LANG_FM_BUTTONBAR_RECORD)); 274 str(LANG_FM_BUTTONBAR_RECORD));
275#endif 275#endif
276 276
277 cpu_idle_mode(true);
278
277 while(!done) 279 while(!done)
278 { 280 {
279 if(search_dir) 281 if(search_dir)
@@ -622,6 +624,9 @@ bool radio_screen(void)
622 } 624 }
623 625
624#endif 626#endif
627
628 cpu_idle_mode(false);
629
625 return have_recorded; 630 return have_recorded;
626} 631}
627 632