Malyan M200 V2 (#17840)

This commit is contained in:
Scott Lahteine
2020-05-04 14:37:43 -05:00
committed by GitHub
parent 1c32f10039
commit 38d1587091
12 changed files with 132 additions and 56 deletions

View File

@@ -330,8 +330,8 @@ namespace ExtUI {
// Delta limits XY based on the current offset from center
// This assumes the center is 0,0
#if ENABLED(DELTA)
if (axis != Z_AXIS) {
max = SQRT(sq((float)(DELTA_PRINTABLE_RADIUS)) - sq(current_position[Y_AXIS - axis])); // (Y_AXIS - axis) == the other axis
if (axis != Z) {
max = SQRT(sq(float(DELTA_PRINTABLE_RADIUS)) - sq(current_position[Y - axis])); // (Y - axis) == the other axis
min = -max;
}
#endif