From 62991c8e67705a31ded26b43754a8c650ff76de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 23 Apr 2023 09:52:11 +0000 Subject: [PATCH] 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 --- Firmware/mmu2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 91c3c81fa..f5082b5ef 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -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;