Unify buzz methods as MarlinUI::buzz (#14803)
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
#include "tool_change.h"
|
||||
#endif
|
||||
|
||||
#if HAS_BUZZER && PIN_EXISTS(BEEPER)
|
||||
#if USE_BEEPER
|
||||
#include "../libs/buzzer.h"
|
||||
#endif
|
||||
|
||||
@ -749,7 +749,7 @@ int16_t Temperature::getHeaterPower(const heater_ind_t heater_id) {
|
||||
|
||||
inline void loud_kill(PGM_P const lcd_msg) {
|
||||
Running = false;
|
||||
#if HAS_BUZZER && PIN_EXISTS(BEEPER)
|
||||
#if USE_BEEPER
|
||||
for (uint8_t i = 20; i--;) {
|
||||
WRITE(BEEPER_PIN, HIGH); delay(25);
|
||||
WRITE(BEEPER_PIN, LOW); delay(80);
|
||||
|
Reference in New Issue
Block a user