diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-04-05 10:08:00 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-04-05 10:08:00 +0000 |
commit | 95b03d297459960fd8c4d063b122d16a50aa51d2 (patch) | |
tree | bfd53930f9a697cdf79f6ffc4d8de0f8cb664d1f /apps/plugins | |
parent | eefdd430f1d29db7d98f40e1ad20f75c676e1fb0 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/test_boost.c | 3 |
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: |