1
0
Fork 0
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:
Jonathan Gordon 2009-01-03 14:00:23 +00:00
parent 071e3ef691
commit 89646dd90c

View file

@ -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 */