Cleanup: whitespace in nProbeRetryCount var
This commit is contained in:
parent
5f605012eb
commit
2863c9bc01
|
|
@ -2825,9 +2825,9 @@ static void gcode_G80()
|
||||||
nMeasPoints = 3;
|
nMeasPoints = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t nProbeRetryCount = code_seen('C') ? code_value_uint8() : eeprom_read_byte((uint8_t*)EEPROM_MBL_PROBE_NR);
|
uint8_t nProbeRetryCount = code_seen('C') ? code_value_uint8() : eeprom_read_byte((uint8_t*)EEPROM_MBL_PROBE_NR);
|
||||||
if (nProbeRetryCount > 10) {
|
if (nProbeRetryCount > 10) {
|
||||||
nProbeRetryCount = 10;
|
nProbeRetryCount = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
const float area_min_x = code_seen('X') ? code_value() - x_mesh_density - X_PROBE_OFFSET_FROM_EXTRUDER : -INFINITY;
|
const float area_min_x = code_seen('X') ? code_value() - x_mesh_density - X_PROBE_OFFSET_FROM_EXTRUDER : -INFINITY;
|
||||||
|
|
@ -2933,7 +2933,7 @@ static void gcode_G80()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Go down until endstop is hit
|
// Go down until endstop is hit
|
||||||
if (!find_bed_induction_sensor_point_z(has_z ? z0 - Z_CALIBRATION_THRESHOLD : -10.f, nProbeRetryCount )) { //if we have data from z calibration max allowed difference is 1mm for each point, if we dont have data max difference is 10mm from initial point
|
if (!find_bed_induction_sensor_point_z(has_z ? z0 - Z_CALIBRATION_THRESHOLD : -10.f, nProbeRetryCount)) { //if we have data from z calibration max allowed difference is 1mm for each point, if we dont have data max difference is 10mm from initial point
|
||||||
printf_P(_T(MSG_BED_LEVELING_FAILED_POINT_LOW));
|
printf_P(_T(MSG_BED_LEVELING_FAILED_POINT_LOW));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -2942,7 +2942,7 @@ static void gcode_G80()
|
||||||
plan_buffer_line_curposXYZE(Z_LIFT_FEEDRATE);
|
plan_buffer_line_curposXYZE(Z_LIFT_FEEDRATE);
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
|
|
||||||
if (!find_bed_induction_sensor_point_z(has_z ? z0 - Z_CALIBRATION_THRESHOLD : -10.f, nProbeRetryCount )) { //if we have data from z calibration max allowed difference is 1mm for each point, if we dont have data max difference is 10mm from initial point
|
if (!find_bed_induction_sensor_point_z(has_z ? z0 - Z_CALIBRATION_THRESHOLD : -10.f, nProbeRetryCount)) { //if we have data from z calibration max allowed difference is 1mm for each point, if we dont have data max difference is 10mm from initial point
|
||||||
printf_P(_T(MSG_BED_LEVELING_FAILED_POINT_LOW));
|
printf_P(_T(MSG_BED_LEVELING_FAILED_POINT_LOW));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue