Commit 2b506147 authored by Shelley Chen's avatar Shelley Chen Committed by chrome-bot
Browse files

fizz: Increase frequency/loudness of dev screen buzzer

According to spec, peak volume of buzzer is 2.7kHz for the
buzzer.  Increasing buzzer frequency to reflect that.

TEST=reboot with gbb_flags set to 0.  Ensure beep volume
     loud enough.

Change-Id: Ic9a20d8727a3518b6daee5490bb93ed3a145d0c3
Signed-off-by: default avatarShelley Chen <>

Reviewed-by: default avatarFurquan Shaikh <>
parent 26571a2c
......@@ -26,10 +26,11 @@ static int buzzer_play(SoundOps *me, uint32_t msec, uint32_t frequency)
if (!frequency)
return -1;
/* Using frequency ~2.7kHz, which is peak loudness */
start = timer_us(0);
while (timer_us(start)/1000 < msec) {
buzzer->gpio->set(buzzer->gpio, ++i & 1);
buzzer->gpio->set(buzzer->gpio, 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment