|
@@ -24,8 +24,8 @@
|
24
|
24
|
#define __BUZZER_H__
|
25
|
25
|
|
26
|
26
|
#include "fastio.h"
|
27
|
|
-#include "watchdog.h"
|
28
|
27
|
#include "circularqueue.h"
|
|
28
|
+#include "temperature.h"
|
29
|
29
|
|
30
|
30
|
#define TONE_QUEUE_LENGTH 4
|
31
|
31
|
|
|
@@ -106,9 +106,7 @@ class Buzzer {
|
106
|
106
|
while (buffer.isFull()) {
|
107
|
107
|
delay(5);
|
108
|
108
|
this->tick();
|
109
|
|
- #if ENABLED(USE_WATCHDOG)
|
110
|
|
- watchdog_reset();
|
111
|
|
- #endif
|
|
109
|
+ thermalManager.manage_heater();
|
112
|
110
|
}
|
113
|
111
|
this->buffer.enqueue((tone_t) { duration, frequency });
|
114
|
112
|
}
|