Browse Source

[2.0.0] Resolve USE_CONTROLLER_FAN compile errors

Add to controllerfan.cpp:
#include "../module/stepper_indirection.h"
#include "../module/temperature.h"
Unknown 7 years ago
parent
commit
12730c1303
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/feature/controllerfan.cpp

+ 3
- 0
Marlin/src/feature/controllerfan.cpp View File

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…
Cancel
Save