forked from len0rd/rockbox
Fixed return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5292 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc8cff2ec0
commit
3ccbb165c1
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
button = rb->button_get(false);
|
button = rb->button_get(false);
|
||||||
|
|
||||||
if (button == BUTTON_OFF)
|
if (button == BUTTON_OFF)
|
||||||
return false;
|
return PLUGIN_OK;
|
||||||
else
|
else
|
||||||
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
|
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
|
||||||
return PLUGIN_USB_CONNECTED;
|
return PLUGIN_USB_CONNECTED;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue