Skip to content

Commit

Permalink
Quickie G35 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 22, 2020
1 parent 8982756 commit 2b286a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Marlin/src/gcode/bedlevel/G35.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void GcodeSuite::G35() {
const uint8_t screw_thread = parser.byteval('S', TRAMMING_SCREW_THREAD);
if (!WITHIN(screw_thread, 30, 51) || screw_thread % 10 > 1) {
SERIAL_ECHOLNPGM("?(S)crew thread must be 30, 31, 40, 41, 50, or 51.");
goto EXIT_G35;
return;
}

// Wait for planner moves to finish!
Expand Down Expand Up @@ -184,8 +184,6 @@ void GcodeSuite::G35() {
// Home Z after the alignment procedure
process_subcommands_now_P(PSTR("G28Z"));

EXIT_G35:

if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("<<< G35");
}

Expand Down

0 comments on commit 2b286a1

Please sign in to comment.