Fix G33 compile warning
This commit is contained in:
parent
bd7f5848f1
commit
a431013eb7
|
@ -247,7 +247,7 @@ static bool probe_calibration_points(float z_pt[NPP + 1], const int8_t probe_poi
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_7p_calibration) { // probe extra center points
|
if (_7p_calibration) { // probe extra center points
|
||||||
const float start = _7p_9_center ? _CA + _7P_STEP / 3.0 : _7p_6_center ? _CA : __C,
|
const float start = _7p_9_center ? float(_CA) + _7P_STEP / 3.0 : _7p_6_center ? float(_CA) : float(__C),
|
||||||
steps = _7p_9_center ? _4P_STEP / 3.0 : _7p_6_center ? _7P_STEP : _4P_STEP;
|
steps = _7p_9_center ? _4P_STEP / 3.0 : _7p_6_center ? _7P_STEP : _4P_STEP;
|
||||||
I_LOOP_CAL_PT(rad, start, steps) {
|
I_LOOP_CAL_PT(rad, start, steps) {
|
||||||
const float a = RADIANS(210 + (360 / NPP) * (rad - 1)),
|
const float a = RADIANS(210 + (360 / NPP) * (rad - 1)),
|
||||||
|
|
Loading…
Reference in a new issue