forked from len0rd/rockbox
test_mem: fix r25464: button_get() can't be used with actions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25474 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b34fa9ed0e
commit
0eb888b23a
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
KB_PER_SEC(delta));
|
||||
rb->screens[0]->update();
|
||||
|
||||
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