1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 23:30:16 +00:00

Merge pull request #5438 from AnHardt/patch-long_move

Patch long_move()
This commit is contained in:
Scott Lahteine 2016-12-08 13:08:36 -08:00 committed by GitHub
commit d92ccb230c

View File

@ -393,7 +393,7 @@ class Planner {
#if ENABLED(ENSURE_SMOOTH_MOVES) #if ENABLED(ENSURE_SMOOTH_MOVES)
static bool long_move() { 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; return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL;
} }
else else