♻️ Small sound / buzz refactor (#24520)
This commit is contained in:
@ -117,11 +117,11 @@
|
||||
// Buzz directly via the BEEPER pin tone queue
|
||||
#define BUZZ(d,f) buzzer.tone(d, f)
|
||||
|
||||
#elif HAS_BUZZER
|
||||
#elif USE_MARLINUI_BUZZER
|
||||
|
||||
// Buzz indirectly via the MarlinUI instance
|
||||
#define BUZZ(d,f) ui.buzz(d,f)
|
||||
// Use MarlinUI for a buzzer on the LCD
|
||||
#include "../lcd/marlinui.h"
|
||||
#define BUZZ(d,f) ui.buzz(d,f)
|
||||
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user