12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- From 17ec26d21e5fef11ebdafbd268783d397370c62b Mon Sep 17 00:00:00 2001
- From: Hal Emmerich <hal@halemmerich.com>
- Date: Sun, 8 Dec 2019 22:34:39 -0600
- Subject: [PATCH] Don't bind the arrow keys to localization changes. Since we
- are using a text based interface, localization changes have no effect and
- cause the screen to flicker
- ---
- firmware/lib/vboot_ui.c | 5 -----
- 1 file changed, 5 deletions(-)
- diff --git a/firmware/lib/vboot_ui.c b/firmware/lib/vboot_ui.c
- index 8fef5593..5f891013 100644
- --- a/firmware/lib/vboot_ui.c
- +++ b/firmware/lib/vboot_ui.c
- @@ -144,7 +144,6 @@ int VbUserConfirms(struct vb2_context *ctx, uint32_t confirm_flags)
- return 1;
- }
- }
- - VbCheckDisplayKey(ctx, key);
- }
- VbExSleepMs(CONFIRM_KEY_DELAY);
- }
- @@ -385,7 +384,6 @@ developer_mode_screen:
- break;
- default:
- VB2_DEBUG("VbBootDeveloper() - pressed key %d\n", key);
- - VbCheckDisplayKey(ctx, key);
- break;
- }
- } while(hold || vb2_audio_looping());
- @@ -454,7 +452,6 @@ static VbError_t recovery_ui(struct vb2_context *ctx)
- VB2_DEBUG("VbBootRecovery() waiting for manual recovery\n");
- while (1) {
- key = VbExKeyboardRead();
- - VbCheckDisplayKey(ctx, key);
- if (VbWantShutdown(ctx, key))
- return VBERROR_SHUTDOWN_REQUESTED;
- VbExSleepMs(REC_KEY_DELAY);
- @@ -547,8 +544,6 @@ static VbError_t recovery_ui(struct vb2_context *ctx)
- i = 4;
- break;
- }
- - } else {
- - VbCheckDisplayKey(ctx, key);
- }
- if (VbWantShutdown(ctx, key))
- return VBERROR_SHUTDOWN_REQUESTED;
- --
- 2.20.1
|