Skip to content

Commit 3ff2b04

Browse files
committed
M701 Alias T for E parameter
1 parent 7f751ae commit 3ff2b04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Firmware/Marlin_main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -8856,14 +8856,15 @@ SERIAL_PROTOCOLPGM("\n\n");
88568856
### M701 - Load filament <a href="https://reprap.org/wiki/G-code#M701:_Load_filament">M701: Load filament</a>
88578857
#### Usage
88588858
8859-
M701 [ E ]
8859+
M701 [ E | T ]
88608860
88618861
#### Parameters
88628862
- `E` - ID of filament to load, ranges from 0 to 4
8863+
- `T` - Alias of `E`. Used for compatibility with Marlin
88638864
*/
88648865
case 701:
88658866
{
8866-
if (mmu_enabled && code_seen('E'))
8867+
if (mmu_enabled && (code_seen('E') || code_seen('T')))
88678868
tmp_extruder = code_value_uint8();
88688869
gcode_M701();
88698870
}

0 commit comments

Comments
 (0)