|
@@ -5812,10 +5812,9 @@ inline void gcode_M303() {
|
5812
|
5812
|
|
5813
|
5813
|
bool SCARA_move_to_cal(uint8_t delta_a, uint8_t delta_b) {
|
5814
|
5814
|
if (IsRunning()) {
|
5815
|
|
- //gcode_get_destination(); // For X Y Z E F
|
5816
|
5815
|
forward_kinematics_SCARA(delta_a, delta_b);
|
5817
|
|
- destination[X_AXIS] = cartes[X_AXIS];
|
5818
|
|
- destination[Y_AXIS] = cartes[Y_AXIS];
|
|
5816
|
+ destination[X_AXIS] = LOGICAL_X_POSITION(cartes[X_AXIS]);
|
|
5817
|
+ destination[Y_AXIS] = LOGICAL_Y_POSITION(cartes[Y_AXIS]);
|
5819
|
5818
|
destination[Z_AXIS] = current_position[Z_AXIS];
|
5820
|
5819
|
prepare_move_to_destination();
|
5821
|
5820
|
return true;
|