1
0
Fork 0
forked from len0rd/rockbox

test_boost: fix r25464: button_get() can't be used with actions

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25480 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-04-05 10:08:00 +00:00
parent eefdd430f1
commit 95b03d2974

View file

@ -52,8 +52,7 @@ enum plugin_status plugin_start(const void* parameter)
rb->screens[0]->update();
count++;
int button = rb->button_get(false);
switch (button)
switch (rb->get_action(CONTEXT_STD, TIMEOUT_NOBLOCK))
{
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
case ACTION_STD_PREV: