summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-05-13 00:32:56 +0000
committerDave Chapman <dave@dchapman.com>2007-05-13 00:32:56 +0000
commit98b7229d7e4ba385fb26000e0795b2f848c31611 (patch)
treea3a44af2cbe375438faf2a0c3b7d966744791ee8 /apps
parent3463e87220a5d986e9024fb370d36331fc863c94 (diff)
downloadrockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.tar.gz
rockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/test_codec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 4d9bff7a45..748b07141b 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");