From 8856dd99083b12e66a9169c5f5e47b6159377a96 Mon Sep 17 00:00:00 2001 From: Markus Amsler Date: Tue, 12 Apr 2011 01:33:07 +0200 Subject: [PATCH] Only print queue on every G command if DEBUG_POSITION is set. --- gcode_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcode_process.c b/gcode_process.c index 47a584f..2181af9 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -273,7 +273,8 @@ void process_gcode_command() { return; } #ifdef DEBUG - print_queue(); + if (debug_flags & DEBUG_POSITION) + print_queue(); #endif } else if (next_target.seen_M) {