Clean up M80/M81, DWIN

This commit is contained in:
Scott Lahteine
2020-08-13 21:30:12 -05:00
parent 77ab354a5a
commit eee101b9dd
3 changed files with 11 additions and 13 deletions

View File

@ -22,15 +22,11 @@
#include "../gcode.h"
#include "../../module/temperature.h"
#include "../../module/stepper.h"
#include "../../module/printcounter.h" // for print_job_timer
#include "../../module/printcounter.h" // for print_job_timer
#include "../../lcd/ultralcd.h" // for LCD_MESSAGEPGM_P
#include "../../inc/MarlinConfig.h"
#if HAS_LCD_MENU
#include "../../lcd/ultralcd.h"
#endif
#if HAS_SUICIDE
#include "../../MarlinCore.h"
#endif
@ -39,6 +35,8 @@
#if ENABLED(AUTO_POWER_CONTROL)
#include "../../feature/power.h"
#else
void restore_stepper_drivers();
#endif
// Could be moved to a feature, but this is all the data
@ -108,7 +106,5 @@ void GcodeSuite::M81() {
PSU_OFF();
#endif
#if HAS_LCD_MENU
LCD_MESSAGEPGM_P(PSTR(MACHINE_NAME " " STR_OFF "."));
#endif
LCD_MESSAGEPGM_P(PSTR(MACHINE_NAME " " STR_OFF "."));
}