MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / quickstop_stepper

Function quickstop_stepper

Marlin/src/module/motion.cpp:726–731  ·  view source on GitHub ↗

* Run out the planner buffer and re-sync the current * position from the last-updated stepper positions. */

Source from the content-addressed store, hash-verified

724 * position from the last-updated stepper positions.
725 */
726void quickstop_stepper() {
727 planner.quick_stop();
728 planner.synchronize();
729 set_current_from_steppers_for_axis(ALL_AXES_ENUM);
730 sync_plan_position();
731}
732
733#if ENABLED(REALTIME_REPORTING_COMMANDS)
734

Callers 11

abortSDPrintingFunction · 0.85
taskMethod · 0.85
event_handlerMethod · 0.85
get_serial_commandsMethod · 0.85
M410Method · 0.85
getCommandFromTFTMethod · 0.85
get_wifi_commandsFunction · 0.85
handleDataMethod · 0.85
_outageMethod · 0.85
loadButtonMethod · 0.85

Calls 4

sync_plan_positionFunction · 0.85
quick_stopMethod · 0.45
synchronizeMethod · 0.45

Tested by

no test coverage detected