|
@ -114,10 +114,6 @@ void GcodeSuite::G34() { |
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Final Z Move"); |
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Final Z Move"); |
|
|
do_blocking_move_to_z(zgrind, MMM_TO_MMS(GANTRY_CALIBRATION_FEEDRATE)); |
|
|
do_blocking_move_to_z(zgrind, MMM_TO_MMS(GANTRY_CALIBRATION_FEEDRATE)); |
|
|
|
|
|
|
|
|
// Back off end plate, back to normal motion range
|
|
|
|
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Z Backoff"); |
|
|
|
|
|
do_blocking_move_to_z(zpounce, MMM_TO_MMS(GANTRY_CALIBRATION_FEEDRATE)); |
|
|
|
|
|
|
|
|
|
|
|
#if _REDUCE_CURRENT |
|
|
#if _REDUCE_CURRENT |
|
|
// Reset current to original values
|
|
|
// Reset current to original values
|
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Restore Current"); |
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Restore Current"); |
|
@ -146,6 +142,10 @@ void GcodeSuite::G34() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Back off end plate, back to normal motion range
|
|
|
|
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Z Backoff"); |
|
|
|
|
|
do_blocking_move_to_z(zpounce, MMM_TO_MMS(GANTRY_CALIBRATION_FEEDRATE)); |
|
|
|
|
|
|
|
|
#ifdef GANTRY_CALIBRATION_COMMANDS_POST |
|
|
#ifdef GANTRY_CALIBRATION_COMMANDS_POST |
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Running Post Commands"); |
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Running Post Commands"); |
|
|
process_subcommands_now(F(GANTRY_CALIBRATION_COMMANDS_POST)); |
|
|
process_subcommands_now(F(GANTRY_CALIBRATION_COMMANDS_POST)); |
|
|