Fix edge case in buzzer muting

This commit is contained in:
jacob.eva 2024-10-21 19:16:37 +01:00
parent 34f1bc6795
commit 2b2f86374f
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -33,6 +33,7 @@
void toggle_buzzer_enable() {
buzzer_enabled = !buzzer_enabled;
update_buzzer_notone();
noTone(PIN_BUZZER);
digitalWrite(PIN_BUZZER, LOW);
}
#endif