✨ SOUND_ON_DEFAULT option (#24102)
This commit is contained in:
committed by
Scott Lahteine
parent
b2b5b85045
commit
3443a9e18b
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user