From a0997fcee15163f7caacf7d7cf96b354da8c1d01 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 30 Nov 2012 03:41:02 +0100 Subject: [PATCH] gcode_process.c: remove M190 and M191. These were pointless anyways, the power supply is handled fully automatic in Teacup. --- gcode_process.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gcode_process.c b/gcode_process.c index 0a5d1de..dd5f051 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -696,30 +696,6 @@ void process_gcode_command() { #endif break; - case 190: - //? --- M190: Power On --- - //? Undocumented. - //? This one is pointless in Teacup. Implemented to calm the RepRap gurus. - //? - power_on(); - stepper_enable(); - x_enable(); - y_enable(); - z_enable(); - e_enable(); - break; - - case 191: - //? --- M191: Power Off --- - //? Undocumented. - //? Same as M2. RepRap obviously prefers to invent new numbers instead of looking into standards. - #ifdef ENFORCE_ORDER - // wait for all moves to complete - queue_wait(); - #endif - power_off(); - break; - case 200: //? --- M200: report endstop status --- //? Report the current status of the endstops configured in the firmware to the host.