소스 검색

Heal the watchgog

Blue-Marlin 8 년 전
부모
커밋
efe719f898
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2
    4
      Marlin/buzzer.h

+ 2
- 4
Marlin/buzzer.h 파일 보기

@@ -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
     }

Loading…
취소
저장