NEW:add pause print message

Change-Id: I5b1fe20f0ecbcb9349f630f40048eb3c7eebb577
This commit is contained in:
liz.li 2023-04-20 15:58:26 +08:00 committed by Lane.Wei
parent d8517991e4
commit 01e556a038
5 changed files with 117 additions and 19 deletions

View file

@ -2488,8 +2488,8 @@ namespace ProcessLayer
// add tag for processor
gcode += ";" + GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Pause_Print) + "\n";
//! FIXME_in_fw show message during print pause
//if (!pause_print_msg.empty())
// gcode += "M117 " + pause_print_msg + "\n";
if (!pause_print_msg.empty())
gcode += "M117 " + pause_print_msg + "\n";
gcode += gcodegen.placeholder_parser_process("machine_pause_gcode", config.machine_pause_gcode, current_extruder_id) + "\n";
}
else {