summaryrefslogtreecommitdiff
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
parenteefdd430f1d29db7d98f40e1ad20f75c676e1fb0 (diff)
downloadrockbox-95b03d297459960fd8c4d063b122d16a50aa51d2.tar.gz
rockbox-95b03d297459960fd8c4d063b122d16a50aa51d2.zip
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
-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)
52 rb->screens[0]->update(); 52 rb->screens[0]->update();
53 count++; 53 count++;
54 54
55 int button = rb->button_get(false); 55 switch (rb->get_action(CONTEXT_STD, TIMEOUT_NOBLOCK))
56 switch (button)
57 { 56 {
58#ifdef HAVE_ADJUSTABLE_CPU_FREQ 57#ifdef HAVE_ADJUSTABLE_CPU_FREQ
59 case ACTION_STD_PREV: 58 case ACTION_STD_PREV: