Tweak use of move_z_after_probing
This commit is contained in:
@ -62,7 +62,9 @@ void GcodeSuite::G30() {
|
||||
|
||||
clean_up_after_endstop_or_probe_move();
|
||||
|
||||
if (raise_after == PROBE_PT_STOW) move_z_after_probing();
|
||||
#if Z_AFTER_PROBING
|
||||
if (raise_after == PROBE_PT_STOW) move_z_after_probing();
|
||||
#endif
|
||||
|
||||
report_current_position();
|
||||
}
|
||||
|
@ -41,7 +41,9 @@ void GcodeSuite::M401() {
|
||||
*/
|
||||
void GcodeSuite::M402() {
|
||||
STOW_PROBE();
|
||||
move_z_after_probing();
|
||||
#if Z_AFTER_PROBING
|
||||
move_z_after_probing();
|
||||
#endif
|
||||
report_current_position();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user