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

@@ -30,6 +30,10 @@
#include "configuration_store.h"
#include "utility.h"
#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER)
#include "buzzer.h"
#endif
#if ENABLED(BLTOUCH)
#include "endstops.h"
#endif
@@ -581,7 +585,9 @@ void kill_screen(const char* lcd_msg) {
clear_command_queue();
quickstop_stepper();
print_job_timer.stop();
thermalManager.autotempShutdown();
#if ENABLED(AUTOTEMP)
thermalManager.autotempShutdown();
#endif
wait_for_heatup = false;
lcd_setstatus(MSG_PRINT_ABORTED, true);
}