Sort out some header dependencies
This commit is contained in:
parent
2cb5df8a56
commit
d963020532
6 changed files with 34 additions and 36 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue