Fix delta_safe_distance_from_top

master
Scott Lahteine 7 years ago
parent 0b1d754e7d
commit e2568d7589

@ -12378,7 +12378,7 @@ void ok_to_send() {
float cartesian[XYZ] = { 0, 0, 0 }; float cartesian[XYZ] = { 0, 0, 0 };
inverse_kinematics(cartesian); inverse_kinematics(cartesian);
float distance = delta[A_AXIS]; float distance = delta[A_AXIS];
cartesian[Y_AXIS] = LOGICAL_Y_POSITION(DELTA_PRINTABLE_RADIUS); cartesian[Y_AXIS] = DELTA_PRINTABLE_RADIUS;
inverse_kinematics(cartesian); inverse_kinematics(cartesian);
return FABS(distance - delta[A_AXIS]); return FABS(distance - delta[A_AXIS]);
} }

Loading…
Cancel
Save