forked from len0rd/rockbox
Adapted to the new event handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4957 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
147d0eb5d4
commit
6a635ce6ed
1 changed files with 2 additions and 2 deletions
|
|
@ -104,8 +104,8 @@ enum plugin_status loop(void)
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
if (button==SYS_USB_CONNECTED) {
|
|
||||||
rb->usb_screen();
|
if (rb->default_event_handler(button) == SYS_USB_CONNECTED) {
|
||||||
return PLUGIN_USB_CONNECTED;
|
return PLUGIN_USB_CONNECTED;
|
||||||
}
|
}
|
||||||
} while (!(button&(BUTTON_REL|BUTTON_REPEAT)));
|
} while (!(button&(BUTTON_REL|BUTTON_REPEAT)));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue