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
This commit is contained in:
Dave Chapman 2007-05-13 00:32:56 +00:00
parent 3463e87220
commit 98b7229d7e

View file

@ -529,11 +529,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->lcd_clear_display(); rb->lcd_clear_display();
DEBUGF("Calling menu\n");
result=rb->do_menu(&menu,&result); 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"); init_wav("/test.wav");
if (wavinfo.fd < 0) { if (wavinfo.fd < 0) {
rb->splash(HZ*2, "Cannot create /test.wav"); rb->splash(HZ*2, "Cannot create /test.wav");