Option to disable fans during pause (#13820)

This commit is contained in:
InsanityAutomation
2019-05-04 16:50:44 -04:00
committed by Scott Lahteine
parent 66f7065248
commit 3fcab8dbf1
78 changed files with 86 additions and 3 deletions

View File

@ -174,7 +174,7 @@ hotend_info_t Temperature::temp_hotend[HOTENDS]; // = { 0 }
#endif
}
#if ENABLED(PROBING_FANS_OFF)
#if EITHER(PROBING_FANS_OFF, ADVANCED_PAUSE_FANS_PAUSE)
void Temperature::set_fans_paused(const bool p) {
static uint8_t saved_fan_speed[FAN_COUNT]; // = { 0 }
@ -187,7 +187,7 @@ hotend_info_t Temperature::temp_hotend[HOTENDS]; // = { 0 }
}
}
#endif // PROBING_FANS_OFF
#endif
#endif // FAN_COUNT > 0

View File

@ -448,7 +448,7 @@ class Temperature {
#endif // HAS_LCD_MENU
#if ENABLED(PROBING_FANS_OFF)
#if EITHER(PROBING_FANS_OFF, ADVANCED_PAUSE_FANS_PAUSE)
void set_fans_paused(const bool p);
#endif