gcode_process.c: remove M253: read arbitrary memory location, too.

Also pretty esoteric.
This commit is contained in:
Markus Hitter 2012-09-02 20:00:31 +02:00
parent 8e3cf55723
commit d169a1fa3e
1 changed files with 0 additions and 14 deletions

View File

@ -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