print queue with every G command if debug is enabled
This commit is contained in:
parent
da9bfc9f6f
commit
18d47056f5
|
|
@ -238,7 +238,11 @@ void process_gcode_command() {
|
||||||
default:
|
default:
|
||||||
sersendf_P(PSTR("E: Bad G-code %d"), next_target.G);
|
sersendf_P(PSTR("E: Bad G-code %d"), next_target.G);
|
||||||
// newline is sent from gcode_parse after we return
|
// newline is sent from gcode_parse after we return
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
|
print_queue();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if (next_target.seen_M) {
|
else if (next_target.seen_M) {
|
||||||
switch (next_target.M) {
|
switch (next_target.M) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue