1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

Better LCD message when heating needed

This commit is contained in:
Scott Lahteine 2018-01-20 12:25:44 -06:00
parent c373afbddd
commit c7ae531e35
2 changed files with 7 additions and 7 deletions

View File

@ -6508,6 +6508,7 @@ inline void gcode_M17() {
#if ENABLED(ULTIPANEL)
if (show_lcd) // Show status screen
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_STATUS);
LCD_MESSAGEPGM(MSG_M600_TOO_COLD);
#endif
return false; // unable to reach safe temperature
@ -10043,15 +10044,11 @@ inline void gcode_M502() {
);
// Lift Z axis
if (parser.seenval('Z'))
park_point.z = parser.linearval('Z');
if (parser.seenval('Z')) park_point.z = parser.linearval('Z');
// Move XY axes to filament change position or given position
if (parser.seenval('X'))
park_point.x = parser.linearval('X');
if (parser.seenval('Y'))
park_point.y = parser.linearval('Y');
if (parser.seenval('X')) park_point.x = parser.linearval('X');
if (parser.seenval('Y')) park_point.y = parser.linearval('Y');
#if HOTENDS > 1 && DISABLED(DUAL_X_CARRIAGE)
park_point.x += (active_extruder ? hotend_offset[X_AXIS][active_extruder] : 0);

View File

@ -961,6 +961,9 @@
#ifndef MSG_ERR_PROBING_FAILED
#define MSG_ERR_PROBING_FAILED _UxGT("Probing failed")
#endif
#ifndef MSG_M600_TOO_COLD
#define MSG_M600_TOO_COLD _UxGT("M600: Too cold")
#endif
//
// Filament Change screens show up to 3 lines on a 4-line display