forked from len0rd/rockbox
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19658 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
071e3ef691
commit
89646dd90c
1 changed files with 5 additions and 2 deletions
|
|
@ -208,10 +208,13 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
|
|||
rb->lcd_clear_display();
|
||||
rb->lcd_update();
|
||||
/* wait */
|
||||
while(rb->button_get(false) == BUTTON_NONE)
|
||||
do
|
||||
{
|
||||
button = rb->button_get(false);
|
||||
if (button && !IS_SYSEVENT(button))
|
||||
break;
|
||||
rb->yield();
|
||||
}
|
||||
} while (1);
|
||||
|
||||
#endif /*HAVE_LCD_COLOR */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue