|
@ -273,7 +273,7 @@ static bool probe_calibration_points(float z_pt[NPP + 1], const int8_t probe_poi |
|
|
for (int8_t circle = 0; circle <= offset; circle++) { |
|
|
for (int8_t circle = 0; circle <= offset; circle++) { |
|
|
const float a = RADIANS(210 + (360 / NPP) * (rad - 1)), |
|
|
const float a = RADIANS(210 + (360 / NPP) * (rad - 1)), |
|
|
r = delta_calibration_radius * (1 - 0.1 * (zig_zag ? offset - circle : circle)), |
|
|
r = delta_calibration_radius * (1 - 0.1 * (zig_zag ? offset - circle : circle)), |
|
|
interpol = fmod(rad, 1); |
|
|
interpol = FMOD(rad, 1); |
|
|
const float z_temp = calibration_probe(cos(a) * r, sin(a) * r, stow_after_each, set_up); |
|
|
const float z_temp = calibration_probe(cos(a) * r, sin(a) * r, stow_after_each, set_up); |
|
|
if (isnan(z_temp)) return false; |
|
|
if (isnan(z_temp)) return false; |
|
|
// split probe point to neighbouring calibration points
|
|
|
// split probe point to neighbouring calibration points
|
|
|