From 3ff2b04801c2f6cf99d94dbb3bf148043107b942 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Mon, 4 Jul 2022 15:01:41 +0200 Subject: [PATCH] M701 Alias T for E parameter --- Firmware/Marlin_main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 105b969c..2c6ced55 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8856,14 +8856,15 @@ Sigma_Exit: ### M701 - Load filament M701: Load filament #### Usage - M701 [ E ] + M701 [ E | T ] #### Parameters - `E` - ID of filament to load, ranges from 0 to 4 + - `T` - Alias of `E`. Used for compatibility with Marlin */ case 701: { - if (mmu_enabled && code_seen('E')) + if (mmu_enabled && (code_seen('E') || code_seen('T'))) tmp_extruder = code_value_uint8(); gcode_M701(); }