From 98b7229d7e4ba385fb26000e0795b2f848c31611 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 13 May 2007 00:32:56 +0000 Subject: Oops, the previous commit broke the speed-test feature. This fixes it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13377 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_codec.c | 6 +++--- 1 file 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"); -- cgit v1.1