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>
This commit is contained in:
Amaury Pouly 2013-03-14 16:40:23 +01:00
parent 575cb63a92
commit 3f4eeb850e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;