From 95b03d297459960fd8c4d063b122d16a50aa51d2 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 5 Apr 2010 10:08:00 +0000 Subject: [PATCH] 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 --- apps/plugins/test_boost.c | 3 +-- 1 file changed, 1 insertion(+), 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: