mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #376 from liamcottle/fix/buzzer-power-draw
Fix Buzzer Power Draw
This commit is contained in:
commit
e0483c0c82
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue