diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-11-13 12:59:46 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-14 10:11:19 -0800 |
commit | 4fbe948c5127b8468b5a507431547face6c74e15 (patch) | |
tree | decef90bb29a77431488111fd761e9b34540f0f6 /firmware/lib/vboot_ui_menu.c | |
parent | ff82ffb0a9cd28bc186eef2e86cfc61aec2d6029 (diff) | |
download | vboot-4fbe948c5127b8468b5a507431547face6c74e15.tar.gz |
vboot_ui_menu: Use volume down short press at recovery menu screen
Fix the typo made in
https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/757123
for usage of volume down button at recovery menu screen. It should be
short press instead of long press.
BUG=b:64992445,b:65013794
BRANCH=None
TEST=Verified that volume down short press works as expected on
recovery menu.
Change-Id: Ia9a172439ac3bbd1ea395778e83a95c988816e01
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/767059
Reviewed-by: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'firmware/lib/vboot_ui_menu.c')
-rw-r--r-- | firmware/lib/vboot_ui_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c index 91993064..9c7c5b81 100644 --- a/firmware/lib/vboot_ui_menu.c +++ b/firmware/lib/vboot_ui_menu.c @@ -1126,7 +1126,7 @@ static VbError_t recovery_ui(struct vb2_context *ctx, VbCommonParams *cparams) case VB_KEY_UP: case VB_KEY_DOWN: case VB_BUTTON_VOL_UP_SHORT_PRESS: - case VB_BUTTON_VOL_DOWN_LONG_PRESS: + case VB_BUTTON_VOL_DOWN_SHORT_PRESS: /* User cannot use keyboard to enable dev mode. * They need to use the volume buttons from a * trusted source to navigate to the disable os |