diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-05 04:48:38 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-05 04:48:38 +0000 |
commit | 0eb888b23a5d27dd5b537b258e08e61ae87b6c2a (patch) | |
tree | e1fc9030df38f755ee46a0746e23fc5871164672 /apps | |
parent | b34fa9ed0e5efdfc90479c5433b72198a75463e5 (diff) |
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')
-rw-r--r-- | apps/plugins/test_mem.c | 3 |
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: |