forked from len0rd/rockbox
Ensure long press of stop button in WPS stops play thanks to Slasheri and Amiconn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10233 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da0525f54f
commit
aeefeab54b
1 changed files with 2 additions and 2 deletions
|
@ -701,7 +701,7 @@ long gui_wps_show(void)
|
|||
#ifdef WPS_EXIT
|
||||
case WPS_EXIT:
|
||||
# ifdef WPS_EXIT_PRE
|
||||
if (lastbutton != WPS_EXIT_PRE)
|
||||
if ((lastbutton & ~BUTTON_REPEAT) != WPS_EXIT_PRE)
|
||||
break;
|
||||
# endif
|
||||
if (global_settings.party_mode)
|
||||
|
@ -710,7 +710,7 @@ long gui_wps_show(void)
|
|||
#ifdef WPS_RC_EXIT
|
||||
case WPS_RC_EXIT:
|
||||
#ifdef WPS_RC_EXIT_PRE
|
||||
if (lastbutton != WPS_RC_EXIT_PRE)
|
||||
if ((lastbutton & ~BUTTON_REPEAT) != WPS_RC_EXIT_PRE)
|
||||
break;
|
||||
#endif
|
||||
if (global_settings.party_mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue