0001-firmware-Developer-mode-timeout-delay-shortening-dow.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 0e8e89b19a4e47802ed6ea64a35da77665cc3d3f Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Mon, 10 Aug 2015 20:33:23 +0200
  4. Subject: [PATCH 1/7] firmware: Developer mode timeout delay shortening (down
  5. to 3 seconds)
  6. A timeout delay of 3 seconds, with no bip, is much more appreciable for users.
  7. Change-Id: If4bc879f350a4a0297395077e4f55e89f4fa764d
  8. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  9. ---
  10. firmware/lib/vboot_audio.c | 6 +-----
  11. 1 file changed, 1 insertion(+), 5 deletions(-)
  12. diff --git a/firmware/lib/vboot_audio.c b/firmware/lib/vboot_audio.c
  13. index 8f31171..7e92dc7 100644
  14. --- a/firmware/lib/vboot_audio.c
  15. +++ b/firmware/lib/vboot_audio.c
  16. @@ -30,11 +30,7 @@
  17. #define MAX_CUSTOM_DELAY 300000
  18. /* These are visible externally only to make testing easier */
  19. -VbDevMusicNote default_notes_[] = { {20000, 0}, /* 20 seconds */
  20. - {250, 400}, /* two beeps */
  21. - {250, 0},
  22. - {250, 400},
  23. - {9250, 0} }; /* total 30 seconds */
  24. +VbDevMusicNote default_notes_[] = { {3000, 0} }; /* three seconds */
  25. uint32_t default_count_ = sizeof(default_notes_) / sizeof(VbDevMusicNote);
  26. VbDevMusicNote short_notes_[] = { {2000, 0} }; /* two seconds */
  27. --
  28. 2.10.2