Add HAS_FILAMENT_RUNOUT_DISTANCE
This commit is contained in:
parent
45488a431a
commit
cfd31ff70e
10 changed files with 32 additions and 46 deletions
|
|
@ -118,7 +118,7 @@ Stepper stepper; // Singleton
|
|||
#include "../feature/mixing.h"
|
||||
#endif
|
||||
|
||||
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
|
||||
#if HAS_FILAMENT_RUNOUT_DISTANCE
|
||||
#include "../feature/runout.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -1808,9 +1808,7 @@ uint32_t Stepper::block_phase_isr() {
|
|||
PAGE_SEGMENT_UPDATE_POS(E);
|
||||
}
|
||||
#endif
|
||||
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
|
||||
runout.block_completed(current_block);
|
||||
#endif
|
||||
TERN_(HAS_FILAMENT_RUNOUT_DISTANCE, runout.block_completed(current_block));
|
||||
discard_current_block();
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue