Sort out some header dependencies

This commit is contained in:
Scott Lahteine
2016-10-10 15:34:35 -05:00
parent 2cb5df8a56
commit d963020532
6 changed files with 34 additions and 36 deletions

View File

@ -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)