summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/video.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index c08708b19c..5620253d59 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -330,6 +330,7 @@ int main(char* filename)
330 330
331enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 331enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
332{ 332{
333 int ret;
333 /* this macro should be called as the first thing you do in the plugin. 334 /* this macro should be called as the first thing you do in the plugin.
334 it test that the api version and model the plugin was compiled for 335 it test that the api version and model the plugin was compiled for
335 matches the machine it is running on */ 336 matches the machine it is running on */
@@ -339,12 +340,15 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
339 340
340 if (parameter == NULL) 341 if (parameter == NULL)
341 { 342 {
342 rb->splash(HZ*2, 0, true, "play .rfv file"); 343 rb->splash(HZ*2, 0, true, "Play .rvf file!");
343 return PLUGIN_ERROR; 344 return PLUGIN_ERROR;
344 } 345 }
345 346
346 /* now go ahead and have fun! */ 347 /* now go ahead and have fun! */
347 return main((char*) parameter); 348 ret = main((char*) parameter);
349 if (ret==PLUGIN_USB_CONNECTED)
350 rb->usb_screen();
351 return ret;
348} 352}
349 353
350#endif /* #ifdef HAVE_LCD_BITMAP */ 354#endif /* #ifdef HAVE_LCD_BITMAP */