Allow disable of LCD click
This commit is contained in:
@@ -612,15 +612,12 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) {
|
||||
UNUSED(clear_buttons);
|
||||
#endif
|
||||
|
||||
#if HAS_BUZZER
|
||||
// Buzz and wait. Is the delay needed for buttons to settle?
|
||||
buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
|
||||
#if HAS_LCD_MENU
|
||||
#if USE_BEEPER
|
||||
for (int8_t i = 5; i--;) { buzzer.tick(); delay(2); }
|
||||
#else
|
||||
delay(10);
|
||||
#endif
|
||||
#if HAS_CHIRP
|
||||
chirp(); // Buzz and wait. Is the delay needed for buttons to settle?
|
||||
#if BOTH(HAS_LCD_MENU, USE_BEEPER)
|
||||
for (int8_t i = 5; i--;) { buzzer.tick(); delay(2); }
|
||||
#elif HAS_LCD_MENU
|
||||
delay(10);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user