|
@@ -2334,12 +2334,14 @@ void kill_screen(const char* lcd_msg) {
|
2334
|
2334
|
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
2335
|
2335
|
next_button_update_ms = millis() + 500;
|
2336
|
2336
|
|
|
2337
|
+ // Buzz and wait. The delay is needed for buttons to settle!
|
2337
|
2338
|
#if ENABLED(LCD_USE_I2C_BUZZER)
|
2338
|
2339
|
lcd.buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
|
|
2340
|
+ delay(10);
|
2339
|
2341
|
#elif PIN_EXISTS(BEEPER)
|
2340
|
2342
|
buzzer.tone(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
|
|
2343
|
+ for (int8_t i = 5; i--;) { buzzer.tick(); delay(2); }
|
2341
|
2344
|
#endif
|
2342
|
|
- delay(10); // needed for buttons to settle
|
2343
|
2345
|
}
|
2344
|
2346
|
|
2345
|
2347
|
/**
|