From 6766c273cc556962543ed514de234ee7257e1206 Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Fri, 29 Sep 2017 15:42:21 -0600 Subject: [PATCH] Fix for TAZ 5 compilation. --- Marlin/ultralcd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index eed5873d9..4701a554e 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -965,9 +965,11 @@ void kill_screen(const char* lcd_msg) { START_MENU(); MENU_BACK(MSG_MAIN); MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28")); + #if defined(LULZBOT_MENU_BED_LEVELING_GCODE) if (!thermalManager.tooColdToExtrude(active_extruder)) { MENU_ITEM(gcode, MSG_BED_LEVELING, PSTR(LULZBOT_MENU_BED_LEVELING_GCODE)); } + #endif MENU_ITEM(gcode, MSG_DISABLE_STEPPERS, PSTR("M84")); MENU_ITEM(submenu, MSG_MOVE_AXIS, lcd_move_menu); END_MENU();