From 23679bbd49ddac5b6a0604609655dc63bbfdbfbc Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 10 May 2013 15:45:53 +0200 Subject: [PATCH] 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. --- gcode_process.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/gcode_process.c b/gcode_process.c index fb4362e..d678559 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -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: