From 92e5747469b85ac8a3661fa4faa1dd6f02f2456c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 29 Apr 2023 23:43:27 +0000 Subject: [PATCH] M600: remove dead code The if statement doesn't do anything useful so I propose it be removed before 3.13 release Change in memory: Flash: -30 bytes SRAM: 0 bytes --- Firmware/Marlin_main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index ce66afc25..b63637e52 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -3524,12 +3524,6 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float MMU2::mmu2.eject_filament(MMU2::mmu2.get_current_tool(), false); } mmu_M600_wait_and_beep(); - if (saved_printing) { - lcd_clear(); - lcd_puts_at_P(0, 2, _T(MSG_PLEASE_WAIT)); -//@@TODO mmu_command(MmuCmd::R0); -// manage_response(false, false); - } } mmu_M600_load_filament(automatic, HotendTempBckp); }