Accept FS#9111 - only exit te stats plugin if the exit button is pressed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-06-29 06:48:07 +00:00
parent 322bfd2f0a
commit 3dcfbc0945
2 changed files with 3 additions and 2 deletions

View file

@ -215,8 +215,8 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
rb->backlight_on();
rb->splash(HZ, "Done");
update_screen();
button = rb->button_get(true);
while (1) {
button = rb->button_get(true);
switch (button) {
#ifdef HAVE_REMOTE_LCD
case STATS_STOP_REMOTE:
@ -230,6 +230,6 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
}
break;
}
}
return PLUGIN_OK;
}
}

View file

@ -394,6 +394,7 @@ Davide Gentile
James Vasile
Mohamed Tarek
Mike Burke
Michael Chicoine
The libmad team
The wavpack team