summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-04-05 10:08:00 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-04-05 10:08:00 +0000
commit95b03d297459960fd8c4d063b122d16a50aa51d2 (patch)
treebfd53930f9a697cdf79f6ffc4d8de0f8cb664d1f /apps
parenteefdd430f1d29db7d98f40e1ad20f75c676e1fb0 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/test_boost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/test_boost.c b/apps/plugins/test_boost.c
index e5bdbb367f..2406990269 100644
--- a/apps/plugins/test_boost.c
+++ b/apps/plugins/test_boost.c
@@ -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: