Allow Z_AFTER_PROBING to be 0

This commit is contained in:
Scott Lahteine
2018-04-30 03:25:47 -05:00
parent 63e4afc910
commit 59fda986ea
7 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ void GcodeSuite::G30() {
clean_up_after_endstop_or_probe_move();
#if Z_AFTER_PROBING
#ifdef Z_AFTER_PROBING
if (raise_after == PROBE_PT_STOW) move_z_after_probing();
#endif

View File

@@ -41,7 +41,7 @@ void GcodeSuite::M401() {
*/
void GcodeSuite::M402() {
STOW_PROBE();
#if Z_AFTER_PROBING
#ifdef Z_AFTER_PROBING
move_z_after_probing();
#endif
report_current_position();