Rejigger Filament Runout class (#12428)

This commit is contained in:
Scott Lahteine
2018-11-14 11:45:57 -06:00
committed by GitHub
parent f4c128ecaa
commit edfd106bc5
4 changed files with 153 additions and 118 deletions

View File

@ -1492,7 +1492,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
// If current block is finished, reset pointer
if (step_events_completed >= step_event_count) {
#if FILAMENT_RUNOUT_DISTANCE_MM > 0
runout.block_complete(current_block);
runout.block_completed(current_block);
#endif
axis_did_move = 0;
current_block = NULL;