diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2005-08-31 00:30:46 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2005-08-31 00:30:46 +0000 |
commit | 68de2581ba68282bbda9c63bc209c43252f1336c (patch) | |
tree | 7f3c675eb22b8a4a31ba90c8700e01960422eae9 /apps/plugins/midi2wav.c | |
parent | e54aa2ab934a6f21c864b1cfa820a7a4b70078fb (diff) |
Fake an USB connections to force reload of the file-tree after running these viewers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7434 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi2wav.c')
-rw-r--r-- | apps/plugins/midi2wav.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/midi2wav.c b/apps/plugins/midi2wav.c index 1a87fa8bfd..e0f9e83fd2 100644 --- a/apps/plugins/midi2wav.c +++ b/apps/plugins/midi2wav.c @@ -85,7 +85,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) return PLUGIN_ERROR; } rb->splash(HZ*3, true, "FINISHED PLAYING"); - return PLUGIN_OK; + /* Return PLUGIN_USB_CONNECTED to force a file-tree refresh */ + return PLUGIN_USB_CONNECTED; } signed char outputBuffer[3000] IDATA_ATTR; /* signed char.. gonna run out of iram ... ! */ |