Tweak to SCARA_move_to_cal

This commit is contained in:
Scott Lahteine 2019-03-12 22:06:38 -05:00
parent 51ff5b68fa
commit d63da4592d

View File

@ -32,10 +32,7 @@
inline bool SCARA_move_to_cal(const uint8_t delta_a, const uint8_t delta_b) {
if (IsRunning()) {
forward_kinematics_SCARA(delta_a, delta_b);
destination[X_AXIS] = cartes[X_AXIS];
destination[Y_AXIS] = cartes[Y_AXIS];
destination[Z_AXIS] = current_position[Z_AXIS];
prepare_move_to_destination();
do_blocking_move_to_xy(cartes[X_AXIS], cartes[Y_AXIS]);
return true;
}
return false;