Quickie G35 patch
This commit is contained in:
parent
8982756b40
commit
2b286a101a
|
@ -85,7 +85,7 @@ void GcodeSuite::G35() {
|
||||||
const uint8_t screw_thread = parser.byteval('S', TRAMMING_SCREW_THREAD);
|
const uint8_t screw_thread = parser.byteval('S', TRAMMING_SCREW_THREAD);
|
||||||
if (!WITHIN(screw_thread, 30, 51) || screw_thread % 10 > 1) {
|
if (!WITHIN(screw_thread, 30, 51) || screw_thread % 10 > 1) {
|
||||||
SERIAL_ECHOLNPGM("?(S)crew thread must be 30, 31, 40, 41, 50, or 51.");
|
SERIAL_ECHOLNPGM("?(S)crew thread must be 30, 31, 40, 41, 50, or 51.");
|
||||||
goto EXIT_G35;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait for planner moves to finish!
|
// Wait for planner moves to finish!
|
||||||
|
@ -184,8 +184,6 @@ void GcodeSuite::G35() {
|
||||||
// Home Z after the alignment procedure
|
// Home Z after the alignment procedure
|
||||||
process_subcommands_now_P(PSTR("G28Z"));
|
process_subcommands_now_P(PSTR("G28Z"));
|
||||||
|
|
||||||
EXIT_G35:
|
|
||||||
|
|
||||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("<<< G35");
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("<<< G35");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue