Followup to Menu Refactor (#12275)

This commit is contained in:
Scott Lahteine
2018-10-30 16:34:45 -05:00
committed by GitHub
parent 5536228359
commit 3583e2b449
45 changed files with 244 additions and 273 deletions

View File

@ -60,7 +60,7 @@ void GcodeSuite::M18_M84() {
#endif
}
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL) // Only needed with an LCD
#if HAS_LCD_MENU && ENABLED(AUTO_BED_LEVELING_UBL)
if (ubl.lcd_map_control) ubl.lcd_map_control = defer_return_to_status = false;
#endif
}

View File

@ -27,7 +27,7 @@
#include "../../inc/MarlinConfig.h"
#if ENABLED(ULTIPANEL)
#if HAS_LCD_MENU
#include "../../lcd/ultralcd.h"
#endif
@ -82,7 +82,7 @@
restore_stepper_drivers();
#endif
#if ENABLED(ULTIPANEL)
#if HAS_LCD_MENU
lcd_reset_status();
#endif
}
@ -115,7 +115,7 @@ void GcodeSuite::M81() {
PSU_OFF();
#endif
#if ENABLED(ULTIPANEL)
#if HAS_LCD_MENU
LCD_MESSAGEPGM(MACHINE_NAME " " MSG_OFF ".");
#endif
}