From 12730c1303942c8a0d15c916e6fde18c96ac10fe Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 7 Oct 2017 05:26:36 -0700 Subject: [PATCH] [2.0.0] Resolve USE_CONTROLLER_FAN compile errors Add to controllerfan.cpp: #include "../module/stepper_indirection.h" #include "../module/temperature.h" --- Marlin/src/feature/controllerfan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/src/feature/controllerfan.cpp b/Marlin/src/feature/controllerfan.cpp index f13ce18fca..916c9b746d 100644 --- a/Marlin/src/feature/controllerfan.cpp +++ b/Marlin/src/feature/controllerfan.cpp @@ -24,6 +24,9 @@ #if ENABLED(USE_CONTROLLER_FAN) +#include "../module/stepper_indirection.h" +#include "../module/temperature.h" + void controllerfan_update() { static millis_t lastMotorOn = 0, // Last time a motor was turned on nextMotorCheck = 0; // Last time the state was checked