Remove M84.
Teacup handles motor on/off automatically and if your intention is to stop the printer, M0 is appropriate (and conforming with the NIST G-code standard). That said, M84 is kept as a synonym for M2 to enhance compatibility with slic3rs default end-G-code.
This commit is contained in:
parent
6ac79b288d
commit
23679bbd49
|
|
@ -349,6 +349,7 @@ void process_gcode_command() {
|
|||
//?
|
||||
|
||||
case 2:
|
||||
case 84: // For compatibility with slic3rs default end G-code.
|
||||
//? --- M2: program end ---
|
||||
//?
|
||||
//? Example: M2
|
||||
|
|
@ -410,15 +411,6 @@ void process_gcode_command() {
|
|||
next_target.option_e_relative = 1;
|
||||
break;
|
||||
|
||||
// M84- stop idle hold
|
||||
case 84:
|
||||
stepper_disable();
|
||||
x_disable();
|
||||
y_disable();
|
||||
z_disable();
|
||||
e_disable();
|
||||
break;
|
||||
|
||||
// M3/M101- extruder on
|
||||
case 3:
|
||||
case 101:
|
||||
|
|
|
|||
Loading…
Reference in New Issue