Fix issue where Tx gcode doesnt reset custom_message_type

We need to call BeginReport and EndReport
otherwise the SD filename is not shown when printing

This only affects single material MMU gcodes

Change in memory:
Flash: -4 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-04-23 09:52:11 +00:00
parent ae75d9bb0e
commit 62991c8e67
1 changed files with 1 additions and 2 deletions

View File

@ -401,8 +401,7 @@ bool MMU2::tool_change(char code, uint8_t slot) {
case 'x': {
thermal_setExtrudeMintemp(0); // Allow cold extrusion since Tx only loads to the gears not nozzle
planner_synchronize();
ToolChangeCommon(slot); // the only difference was manage_response(false, false), but probably good enough
tool_change(slot);
thermal_setExtrudeMintemp(EXTRUDE_MINTEMP);
} break;