|
@@ -66,11 +66,14 @@
|
66
|
66
|
|
67
|
67
|
#if HAS_BUZZER
|
68
|
68
|
#include "../libs/buzzer.h"
|
|
69
|
+ #if ENABLED(PCA9632_BUZZER)
|
|
70
|
+ #include "../feature/leds/pca9632.h"
|
|
71
|
+ #endif
|
69
|
72
|
void MarlinUI::buzz(const long duration, const uint16_t freq) {
|
70
|
73
|
#if ENABLED(LCD_USE_I2C_BUZZER)
|
71
|
74
|
lcd.buzz(duration, freq);
|
72
|
75
|
#elif ENABLED(PCA9632_BUZZER)
|
73
|
|
- pca9632_buzz(const long duration, const uint16_t freq) {
|
|
76
|
+ pca9632_buzz(duration, freq);
|
74
|
77
|
#elif USE_BEEPER
|
75
|
78
|
buzzer.tone(duration, freq);
|
76
|
79
|
#endif
|