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:
parent
eefdd430f1
commit
95b03d2974
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue