Merge pull request #5440 from AnHardt/simplify-long_move
Simplify long_move()
This commit is contained in:
commit
dfdb180db4
|
@ -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() && block_buffer_runtime_us) {
|
if (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
|
||||||
|
|
Loading…
Reference in a new issue