mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
575cb63a92
commit
3f4eeb850e
2 changed files with 2 additions and 2 deletions
|
|
@ -808,7 +808,7 @@ void radio_screen(void)
|
||||||
|
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
button = get_action(CONTEXT_FM, TIMEOUT_BLOCK);
|
button = get_action(CONTEXT_FM|ALLOW_SOFTLOCK, TIMEOUT_BLOCK);
|
||||||
if(button == ACTION_FM_STOP)
|
if(button == ACTION_FM_STOP)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ void fms_fix_displays(enum fms_exiting toggle_state)
|
||||||
|
|
||||||
int fms_do_button_loop(bool update_screen)
|
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);
|
update_screen ? TIMEOUT_NOBLOCK : HZ/5);
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
struct touchregion *region;
|
struct touchregion *region;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue