From 4087357a70977b263e9f0b08d3725ead2f24d7f2 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 5 Mar 2012 21:54:04 +0100 Subject: [PATCH] clock.c: better debug display of positions. --- clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clock.c b/clock.c index f2ae3e4..d4f31ac 100644 --- a/clock.c +++ b/clock.c @@ -43,10 +43,10 @@ void clock_250ms() { if (DEBUG_POSITION && (debug_flags & DEBUG_POSITION)) { // current position update_current_position(); - sersendf_P(PSTR("Pos: %ld,%ld,%ld,%ld,%lu\n"), current_position.X, current_position.Y, current_position.Z, current_position.E, current_position.F); + sersendf_P(PSTR("Pos: %lq,%lq,%lq,%lq,%lu\n"), current_position.X, current_position.Y, current_position.Z, current_position.E, current_position.F); // target position - sersendf_P(PSTR("Dst: %ld,%ld,%ld,%ld,%lu\n"), movebuffer[mb_tail].endpoint.X, movebuffer[mb_tail].endpoint.Y, movebuffer[mb_tail].endpoint.Z, movebuffer[mb_tail].endpoint.E, movebuffer[mb_tail].endpoint.F); + sersendf_P(PSTR("Dst: %lq,%lq,%lq,%lq,%lu\n"), movebuffer[mb_tail].endpoint.X, movebuffer[mb_tail].endpoint.Y, movebuffer[mb_tail].endpoint.Z, movebuffer[mb_tail].endpoint.E, movebuffer[mb_tail].endpoint.F); // Queue print_queue();