summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/vboot/933c4e7aa4b873f0ad9cd4c348a1ea4f37f66aa7/depthcharge/veyron_speedy/0001-firmware-Developer-mode-timeout-delay-shortening-dow.patch
blob: 53fc563e7624a165a4b14a43c2fddfbac4f2b337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From fe4c243dac0d308746c0103aa22b5e6f29dd494c Mon Sep 17 00:00:00 2001
From: Paul Kocialkowski <contact@paulk.fr>
Date: Mon, 10 Aug 2015 20:33:23 +0200
Subject: [PATCH 1/7] firmware: Developer mode timeout delay shortening (down
 to 3 seconds)

A timeout delay of 3 seconds, with no bip, is much more appreciable for users.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 firmware/lib/vboot_audio.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/firmware/lib/vboot_audio.c b/firmware/lib/vboot_audio.c
index 6071b0d..fd03bfd 100644
--- a/firmware/lib/vboot_audio.c
+++ b/firmware/lib/vboot_audio.c
@@ -30,11 +30,7 @@
 #define MAX_CUSTOM_DELAY      300000
 
 /* These are visible externally only to make testing easier */
-VbDevMusicNote default_notes_[] = { {20000, 0}, /* 20 seconds */
-                                    {250, 400}, /* two beeps */
-                                    {250, 0},
-                                    {250, 400},
-                                    {9250, 0} }; /* total 30 seconds */
+VbDevMusicNote default_notes_[] = { {3000, 0} }; /* three seconds */
 uint32_t default_count_ = sizeof(default_notes_) / sizeof(VbDevMusicNote);
 
 VbDevMusicNote short_notes_[] = { {2000, 0} }; /* two seconds */
-- 
2.8.0