Browse Source
Merge pull request #376 from liamcottle/fix/buzzer-power-draw
Fix Buzzer Power Draw
pull/367/head
ripplebiz
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
src/helpers/ui/buzzer.cpp
|
|
@ -11,6 +11,7 @@ void genericBuzzer::begin() { |
|
|
|
|
|
|
|
|
quiet(false); |
|
|
quiet(false); |
|
|
pinMode(PIN_BUZZER, OUTPUT); |
|
|
pinMode(PIN_BUZZER, OUTPUT); |
|
|
|
|
|
digitalWrite(PIN_BUZZER, LOW); // need to pull low by default to avoid extreme power draw
|
|
|
startup(); |
|
|
startup(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|