✨ SOUND_ON_DEFAULT option (#24102)

This commit is contained in:
Pauli Jokela authored and Scott Lahteine committed 2022-06-03 22:06:50 -05:00
1 parent b2b5b85045
commit 3443a9e18b
23 files changed
+79 -91

No files matched your search

+1 -5
View File
@@ -51,11 +51,7 @@ ENCODER_Rate EncoderRate;
// TODO: Replace with ui.quick_feedback
void Encoder_tick() {
#if PIN_EXISTS(BEEPER)
if (ui.buzzer_enabled) {
WRITE(BEEPER_PIN, HIGH);
delay(10);
WRITE(BEEPER_PIN, LOW);
}
if (ui.sound_on) buzzer.click(10);
#endif
}