Browse Source

Merge pull request #5440 from AnHardt/simplify-long_move

Simplify long_move()
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
dfdb180db4
  1. 10
      Marlin/planner.h

10
Marlin/planner.h

@ -393,11 +393,11 @@ class Planner {
#if ENABLED(ENSURE_SMOOTH_MOVES)
static bool long_move() {
if (blocks_queued() && block_buffer_runtime_us) {
return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL;
}
else
return true;
if (block_buffer_runtime_us) {
return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL;
}
else
return true;
}
static void clear_block_buffer_runtime(){

Loading…
Cancel
Save