[2.0.0] Resolve USE_CONTROLLER_FAN compile errors
Add to controllerfan.cpp: #include "../module/stepper_indirection.h" #include "../module/temperature.h"
This commit is contained in:
parent
2aa22c5a5e
commit
12730c1303
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
||||||
|
|
||||||
#if ENABLED(USE_CONTROLLER_FAN)
|
#if ENABLED(USE_CONTROLLER_FAN)
|
||||||
|
|
||||||
|
#include "../module/stepper_indirection.h"
|
||||||
|
#include "../module/temperature.h"
|
||||||
|
|
||||||
void controllerfan_update() {
|
void controllerfan_update() {
|
||||||
static millis_t lastMotorOn = 0, // Last time a motor was turned on
|
static millis_t lastMotorOn = 0, // Last time a motor was turned on
|
||||||
nextMotorCheck = 0; // Last time the state was checked
|
nextMotorCheck = 0; // Last time the state was checked
|
||||||
|
|
Reference in a new issue