Skip to content

Commit

Permalink
added more info on probe failures
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfmanjm committed Apr 5, 2016
1 parent 0f3e375 commit 41367a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/modules/tools/zprobe/DeltaCalibrationStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ bool DeltaCalibrationStrategy::handleGcode(Gcode *gcode)

if(!gcode->has_letter('R')) {
if(!calibrate_delta_endstops(gcode)) {
gcode->stream->printf("Calibration failed to complete\n");
gcode->stream->printf("Calibration failed to complete, check the initial probe height and/or initial_height settings\n");
return true;
}
}
if(!gcode->has_letter('E')) {
if(!calibrate_delta_radius(gcode)) {
gcode->stream->printf("Calibration failed to complete\n");
gcode->stream->printf("Calibration failed to complete, check the initial probe height and/or initial_height settings\n");
return true;
}
}
Expand All @@ -68,7 +68,7 @@ bool DeltaCalibrationStrategy::handleGcode(Gcode *gcode)
}else if (gcode->g == 29) {
// probe the 7 points
if(!probe_delta_points(gcode)) {
gcode->stream->printf("Calibration failed to complete\n");
gcode->stream->printf("Calibration failed to complete, check the initial probe height and/or initial_height settings\n");
}
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/tools/zprobe/DeltaGridStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ bool DeltaGridStrategy::handleGcode(Gcode *gcode)
THEKERNEL->conveyor->wait_for_empty_queue();

if(!doProbe(gcode)) {
gcode->stream->printf("Probe failed to complete\n");
gcode->stream->printf("Probe failed to complete, check the initial probe height and/or initial_height settings\n");
} else {
gcode->stream->printf("Probe completed\n");
}
Expand Down

0 comments on commit 41367a8

Please sign in to comment.