From 70eb3e6a563758a80ec894c009ca51bd79945043 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 14 Aug 2012 12:12:15 +1000 Subject: Revert "fix erroneous button read in yesno screen and missed buttons in action.c." This reverts commit 15775c8badac65ad9d7477a1706c019703c15b47. --- apps/action.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apps/action.c') diff --git a/apps/action.c b/apps/action.c index 3c130e3e29..5ebcbf771b 100644 --- a/apps/action.c +++ b/apps/action.c @@ -232,13 +232,7 @@ static int get_action_worker(int context, int timeout, /* Data from sys events can be pulled with button_get_data * multimedia button presses don't go through the action system */ if (button == BUTTON_NONE || button & (SYS_EVENT|BUTTON_MULTIMEDIA)) - { - /* no button pressed so no point in waiting for release */ - if (button == BUTTON_NONE) - wait_for_release = false; return button; - } - /* the special redraw button should result in a screen refresh */ if (button == BUTTON_REDRAW) return ACTION_REDRAW; -- cgit v1.2.3