From 706b2402511f0297cd159cd491b16fb09ff90479 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Thu, 8 Dec 2016 21:03:26 +0100 Subject: [PATCH] Patch long_move() While the last move in the planner_buffer is running it's duration is already subtracted from block_buffer_runtime_us. --- Marlin/planner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/planner.h b/Marlin/planner.h index 40bcf9dae5..3ef15ee211 100644 --- a/Marlin/planner.h +++ b/Marlin/planner.h @@ -393,7 +393,7 @@ class Planner { #if ENABLED(ENSURE_SMOOTH_MOVES) static bool long_move() { - if (blocks_queued()) { + if (blocks_queued() && block_buffer_runtime_us) { return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL; } else