diff options
| author | Dave Chapman <dave@dchapman.com> | 2007-05-13 00:32:56 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2007-05-13 00:32:56 +0000 |
| commit | 98b7229d7e4ba385fb26000e0795b2f848c31611 (patch) | |
| tree | a3a44af2cbe375438faf2a0c3b7d966744791ee8 /apps/plugins/test_codec.c | |
| parent | 3463e87220a5d986e9024fb370d36331fc863c94 (diff) | |
| download | rockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.zip rockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.tar.gz rockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.tar.bz2 rockbox-98b7229d7e4ba385fb26000e0795b2f848c31611.tar.xz | |
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/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"); |