123456789101112131415161718192021222324252627282930313233343536373839404142 |
- From 2e8eaaff41b4d177a219fc4cbcb9125e008eb641 Mon Sep 17 00:00:00 2001
- From: Hal Emmerich <hal@halemmerich.com>
- Date: Wed, 11 Dec 2019 20:55:50 -0600
- Subject: [PATCH] Use timeout delay of 3 seconds, don't beep
- ---
- firmware/lib/vboot_audio.c | 15 ++-------------
- 1 files changed, 2 insertions(+), 12 deletions(-)
- diff --git a/firmware/lib/vboot_audio.c b/firmware/lib/vboot_audio.c
- index 42a50798..cf9ff1f1 100644
- --- a/firmware/lib/vboot_audio.c
- +++ b/firmware/lib/vboot_audio.c
- @@ -28,22 +28,11 @@ static int beep_count; /* Number of beeps so far */
- */
- void vb2_audio_start(struct vb2_context *ctx)
- {
- - struct vb2_shared_data *sd = vb2_get_sd(ctx);
- -
- open_time = VbExGetTimer(); /* "zero" starts now */
- beep_count = 0;
-
- - /*
- - * Use a short developer screen delay on the first audio if indicated
- - * by GBB flags.
- - */
- - if ((sd->gbb_flags & VB2_GBB_FLAG_DEV_SCREEN_SHORT_DELAY) &&
- - (audio_open_count++ == 0)) {
- - VB2_DEBUG("vb2_audio_start() - using short dev screen delay\n");
- - audio_use_short = 1;
- - } else {
- - audio_use_short = 0;
- - }
- + VB2_DEBUG("vb2_audio_start() - using short dev screen delay\n");
- + audio_use_short = 1;
- }
-
- /**
- --
- 2.20.1
|