From d169a1fa3ed81415ad48c51e02850d4cce9ca43e Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sun, 2 Sep 2012 20:00:31 +0200 Subject: [PATCH] gcode_process.c: remove M253: read arbitrary memory location, too. Also pretty esoteric. --- gcode_process.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gcode_process.c b/gcode_process.c index 0be1a98..606e1af 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -766,20 +766,6 @@ void process_gcode_command() { print_queue(); break; - case 253: - //? --- M253: read arbitrary memory location --- - //? Undocumented - //? This command is only available in DEBUG builds. - if ( ! next_target.seen_S) - break; - if ( ! next_target.seen_P) - next_target.P = 1; - for (; next_target.P; next_target.P--) { - serwrite_hex8(*(volatile uint8_t *)(next_target.S)); - next_target.S++; - } - // newline is sent from gcode_parse after we return - break; #endif /* DEBUG */ // unknown mcode: spit an error