소스 검색

[2.0.0] Resolve USE_CONTROLLER_FAN compile errors

Add to controllerfan.cpp:
#include "../module/stepper_indirection.h"
#include "../module/temperature.h"
Unknown 7 년 전
부모
커밋
12730c1303
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      Marlin/src/feature/controllerfan.cpp

+ 3
- 0
Marlin/src/feature/controllerfan.cpp 파일 보기

24
 
24
 
25
 #if ENABLED(USE_CONTROLLER_FAN)
25
 #if ENABLED(USE_CONTROLLER_FAN)
26
 
26
 
27
+#include "../module/stepper_indirection.h"
28
+#include "../module/temperature.h"
29
+
27
 void controllerfan_update() {
30
 void controllerfan_update() {
28
   static millis_t lastMotorOn = 0, // Last time a motor was turned on
31
   static millis_t lastMotorOn = 0, // Last time a motor was turned on
29
                   nextMotorCheck = 0; // Last time the state was checked
32
                   nextMotorCheck = 0; // Last time the state was checked

Loading…
취소
저장