♻️ Small sound / buzz refactor (#24520)

This commit is contained in:
Scott Lahteine committed 2022-08-01 01:59:36 -05:00
1 parent 97a73147fa
commit f752fe75ee
16 files changed
+49 -55

No files matched your search

+3 -3
View File
@@ -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