|
|
|
@ -5894,6 +5894,7 @@ inline void gcode_M400() { stepper.synchronize(); }
|
|
|
|
|
|
|
|
|
|
#endif // FILAMENT_WIDTH_SENSOR
|
|
|
|
|
|
|
|
|
|
#if DISABLED(DELTA) && DISABLED(SCARA)
|
|
|
|
|
void set_current_position_from_planner() {
|
|
|
|
|
stepper.synchronize();
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
|
|
|
@ -5908,6 +5909,7 @@ void set_current_position_from_planner() {
|
|
|
|
|
#endif
|
|
|
|
|
sync_plan_position(); // ...re-apply to planner position
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* M410: Quickstop - Abort all planned moves
|
|
|
|
@ -5917,7 +5919,9 @@ void set_current_position_from_planner() {
|
|
|
|
|
*/
|
|
|
|
|
inline void gcode_M410() {
|
|
|
|
|
stepper.quick_stop();
|
|
|
|
|
#if DISABLED(DELTA) && DISABLED(SCARA)
|
|
|
|
|
set_current_position_from_planner();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|