diff options
Diffstat (limited to 'apps/plugins/test_codec.c')
| -rw-r--r-- | apps/plugins/test_codec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 4d9bff7..748b071 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -529,11 +529,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->lcd_clear_display(); - DEBUGF("Calling menu\n"); result=rb->do_menu(&menu,&result); - DEBUGF("Done\n"); - if (result==1) { + if (result==0) { + wavinfo.fd = -1; + } else if (result==1) { init_wav("/test.wav"); if (wavinfo.fd < 0) { rb->splash(HZ*2, "Cannot create /test.wav"); |