Przeglądaj źródła

[2.0.0] Resolve USE_CONTROLLER_FAN compile errors

Add to controllerfan.cpp:
#include "../module/stepper_indirection.h"
#include "../module/temperature.h"
Unknown 7 lat temu
rodzic
commit
12730c1303
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      Marlin/src/feature/controllerfan.cpp

+ 3
- 0
Marlin/src/feature/controllerfan.cpp Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz