Simpler Allen Key config. Fixes, cleanups from refactor (#15256)
This commit is contained in:
@ -105,7 +105,7 @@ float current_position[XYZE] = { X_HOME_POS, Y_HOME_POS, Z_HOME_POS };
|
||||
* Cartesian Destination
|
||||
* The destination for a move, filled in by G-code movement commands,
|
||||
* and expected by functions like 'prepare_move_to_destination'.
|
||||
* Set with 'get_destination_from_command' or 'set_destination_from_current'.
|
||||
* G-codes can set destination using 'get_destination_from_command'
|
||||
*/
|
||||
float destination[XYZE]; // = { 0 }
|
||||
|
||||
@ -670,7 +670,7 @@ void clean_up_after_endstop_or_probe_move() {
|
||||
|
||||
// For SCARA enforce a minimum segment size
|
||||
#if IS_SCARA
|
||||
NOMORE(segments, cartesian_mm * (1.0f / float(SCARA_MIN_SEGMENT_LENGTH)));
|
||||
NOMORE(segments, cartesian_mm * RECIPROCAL(SCARA_MIN_SEGMENT_LENGTH));
|
||||
#endif
|
||||
|
||||
// At least one segment is required
|
||||
|
Reference in New Issue
Block a user