Comment return false
in motion functions
This commit is contained in:
parent
f218eb0ddf
commit
705ea98fd3
|
@ -621,6 +621,8 @@
|
||||||
|
|
||||||
} // segment loop
|
} // segment loop
|
||||||
} // cell loop
|
} // cell loop
|
||||||
|
|
||||||
|
return false; // caller will update current_position
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UBL_SEGMENTED
|
#endif // UBL_SEGMENTED
|
||||||
|
|
|
@ -540,7 +540,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||||
// If the move is only in Z/E don't split up the move
|
// If the move is only in Z/E don't split up the move
|
||||||
if (!xdiff && !ydiff) {
|
if (!xdiff && !ydiff) {
|
||||||
planner.buffer_line_kinematic(rtarget, _feedrate_mm_s, active_extruder);
|
planner.buffer_line_kinematic(rtarget, _feedrate_mm_s, active_extruder);
|
||||||
return false;
|
return false; // caller will update current_position
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fail if attempting move outside printable radius
|
// Fail if attempting move outside printable radius
|
||||||
|
@ -638,7 +638,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||||
planner.buffer_line_kinematic(rtarget, _feedrate_mm_s, active_extruder);
|
planner.buffer_line_kinematic(rtarget, _feedrate_mm_s, active_extruder);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false;
|
return false; // caller will update current_position
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // !IS_KINEMATIC
|
#else // !IS_KINEMATIC
|
||||||
|
@ -730,7 +730,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||||
return true; // all moves, including Z-only moves.
|
return true; // all moves, including Z-only moves.
|
||||||
#elif ENABLED(SEGMENT_LEVELED_MOVES)
|
#elif ENABLED(SEGMENT_LEVELED_MOVES)
|
||||||
segmented_line_to_destination(MMS_SCALED(feedrate_mm_s));
|
segmented_line_to_destination(MMS_SCALED(feedrate_mm_s));
|
||||||
return false;
|
return false; // caller will update current_position
|
||||||
#else
|
#else
|
||||||
/**
|
/**
|
||||||
* For MBL and ABL-BILINEAR only segment moves when X or Y are involved.
|
* For MBL and ABL-BILINEAR only segment moves when X or Y are involved.
|
||||||
|
@ -749,7 +749,7 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
||||||
#endif // HAS_MESH
|
#endif // HAS_MESH
|
||||||
|
|
||||||
buffer_line_to_destination(MMS_SCALED(feedrate_mm_s));
|
buffer_line_to_destination(MMS_SCALED(feedrate_mm_s));
|
||||||
return false;
|
return false; // caller will update current_position
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !IS_KINEMATIC
|
#endif // !IS_KINEMATIC
|
||||||
|
|
Loading…
Reference in a new issue