From f49b88c1a198f4232a69d7a0aa5d55c9810a3864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 3 Sep 2022 14:05:47 +0000 Subject: [PATCH] Optimisation: lcd_commands "M702 C" should be "M702" Change in memory: Flash: -2 bytes SRAM: 0 bytes --- Firmware/ultralcd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index e4b8b8669..912bad3c0 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -964,7 +964,7 @@ void lcd_commands() enquecommand_P(PSTR("M140 S0")); // turn off heatbed enquecommand_P(PSTR("G1 Z10 F1300.000")); //lift Z enquecommand_P(PSTR("G1 X10 Y180 F4000")); //Go to parking position - if (MMU2::mmu2.Enabled()) enquecommand_P(PSTR("M702 C")); //unload from nozzle + if (MMU2::mmu2.Enabled()) enquecommand_P(PSTR("M702")); //unload from nozzle enquecommand_P(PSTR("M84"));// disable motors forceMenuExpire = true; //if user dont confirm live adjust Z value by pressing the knob, we are saving last value by timeout to status screen lcd_commands_step = 1; @@ -3956,6 +3956,7 @@ static void lcd_wizard_load() { lcd_puts_at_P(0, 2, _T(MSG_LOADING_FILAMENT)); loading_flag = true; gcode_M701(FILAMENTCHANGE_FIRSTFEED, 0); + //enquecommand_P(PSTR("M701")); } bool lcd_autoDepleteEnabled()