summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_mem.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-04-05 04:48:38 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-04-05 04:48:38 +0000
commit0eb888b23a5d27dd5b537b258e08e61ae87b6c2a (patch)
treee1fc9030df38f755ee46a0746e23fc5871164672 /apps/plugins/test_mem.c
parentb34fa9ed0e5efdfc90479c5433b72198a75463e5 (diff)
downloadrockbox-0eb888b23a5d27dd5b537b258e08e61ae87b6c2a.tar.gz
rockbox-0eb888b23a5d27dd5b537b258e08e61ae87b6c2a.zip
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
Diffstat (limited to 'apps/plugins/test_mem.c')
-rw-r--r--apps/plugins/test_mem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c
index 80995c9bfb..da89e13340 100644
--- a/apps/plugins/test_mem.c
+++ b/apps/plugins/test_mem.c
@@ -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: