Sort out some header dependencies
This commit is contained in:
@ -372,15 +372,15 @@ class Temperature {
|
||||
*/
|
||||
static void updatePID();
|
||||
|
||||
static void autotempShutdown() {
|
||||
#if ENABLED(AUTOTEMP)
|
||||
#if ENABLED(AUTOTEMP)
|
||||
static void autotempShutdown() {
|
||||
if (planner.autotemp_enabled) {
|
||||
planner.autotemp_enabled = false;
|
||||
if (degTargetHotend(EXTRUDER_IDX) > planner.autotemp_min)
|
||||
setTargetHotend(0, EXTRUDER_IDX);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
|
||||
|
Reference in New Issue
Block a user