mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Patch long_move()
While the last move in the planner_buffer is running it's duration is already subtracted from block_buffer_runtime_us.
This commit is contained in:
parent
4ea87b8f34
commit
706b240251
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user