diff options
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index be089cdb7c..8ded341bec 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -1967,9 +1967,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
1967 | } | 1967 | } |
1968 | break; | 1968 | break; |
1969 | 1969 | ||
1970 | case SYS_USB_CONNECTED: | 1970 | default: |
1971 | rb->usb_screen(); | 1971 | if (rb->default_event_handler(button) == SYS_USB_CONNECTED) |
1972 | return PLUGIN_USB_CONNECTED; | 1972 | return PLUGIN_USB_CONNECTED; |
1973 | break; | ||
1973 | } | 1974 | } |
1974 | } while (button != BUTTON_PLAY && | 1975 | } while (button != BUTTON_PLAY && |
1975 | button != BUTTON_OFF && button != BUTTON_ON); | 1976 | button != BUTTON_OFF && button != BUTTON_ON); |