diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-03-14 16:40:23 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-10 15:19:45 +0200 |
commit | 3f4eeb850e91fd026a99f2b17bd7e0837f112bb5 (patch) | |
tree | fc817e253a5e9dbf49a1357919e96073da332e56 | |
parent | 575cb63a929b00c84d1b8615ce78db18420ef600 (diff) | |
download | rockbox-3f4eeb8.tar.gz rockbox-3f4eeb8.zip |
Enable key lock in radio screen
Change-Id: I75efbf1077359e4218ad33f4c1d885b24c0b7b01
Reviewed-on: http://gerrit.rockbox.org/421
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
-rw-r--r-- | apps/radio/radio.c | 2 | ||||
-rw-r--r-- | apps/radio/radio_skin.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 326e6a3bb0..44ad7694ea 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c @@ -808,7 +808,7 @@ void radio_screen(void) while(1) { - button = get_action(CONTEXT_FM, TIMEOUT_BLOCK); + button = get_action(CONTEXT_FM|ALLOW_SOFTLOCK, TIMEOUT_BLOCK); if(button == ACTION_FM_STOP) break; } diff --git a/apps/radio/radio_skin.c b/apps/radio/radio_skin.c index 521890c9bd..87bef25d3a 100644 --- a/apps/radio/radio_skin.c +++ b/apps/radio/radio_skin.c @@ -95,7 +95,7 @@ void fms_fix_displays(enum fms_exiting toggle_state) int fms_do_button_loop(bool update_screen) { - int button = skin_wait_for_action(FM_SCREEN, CONTEXT_FM, + int button = skin_wait_for_action(FM_SCREEN, CONTEXT_FM|ALLOW_SOFTLOCK, update_screen ? TIMEOUT_NOBLOCK : HZ/5); #ifdef HAVE_TOUCHSCREEN struct touchregion *region; |