Skip to content

Commit

Permalink
Fix checkHitEndstops not called during Auto Home and other functions
Browse files Browse the repository at this point in the history
We need to call checkHitEndstops() in manage_inactivity() instead of loop()
  • Loading branch information
gudnimg committed Aug 5, 2023
1 parent c69e028 commit 29f6a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,6 @@ void loop()
//check heater every n milliseconds
manage_heater();
manage_inactivity(isPrintPaused);
checkHitEndstops();
lcd_update(0);
#ifdef TMC2130
tmc2130_check_overtemp();
Expand Down Expand Up @@ -9431,6 +9430,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
}
#endif
check_axes_activity();
checkHitEndstops();
MMU2::mmu2.mmu_loop();

lcd_knob_update();
Expand Down

0 comments on commit 29f6a57

Please sign in to comment.