Only print queue on every G command if DEBUG_POSITION is set.

This commit is contained in:
Markus Amsler 2011-04-12 01:33:07 +02:00
parent 4b7f8fba48
commit 8856dd9908
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,8 @@ void process_gcode_command() {
return; return;
} }
#ifdef DEBUG #ifdef DEBUG
print_queue(); if (debug_flags & DEBUG_POSITION)
print_queue();
#endif #endif
} }
else if (next_target.seen_M) { else if (next_target.seen_M) {