Merge pull request #7877 from fiveangle/bf2-controller_fan_includes
[2.0.x] Resolve USE_CONTROLLER_FAN compile errors
This commit is contained in:
commit
81a1e69a4a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue