M701 Alias T for E parameter
This commit is contained in:
parent
7f751ae6ac
commit
3ff2b04801
@ -8856,14 +8856,15 @@ Sigma_Exit:
|
||||
### M701 - Load filament <a href="https://reprap.org/wiki/G-code#M701:_Load_filament">M701: Load filament</a>
|
||||
#### 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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user