1
0
Fork 0
forked from len0rd/rockbox

Fixed wps usb bug. Before rockbox switched not to usb mode when cable was

pluged.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1870 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Markus Braun 2002-08-21 11:08:49 +00:00
parent 35c0480d60
commit c6c848e91b

View file

@ -488,7 +488,7 @@ int wps_show(void)
if (button && ignore_keyup)
{
ignore_keyup = false;
if (button & BUTTON_REL)
if (button & BUTTON_REL & !SYS_USB_CONNECTED)
continue;
}