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

@ -465,7 +465,7 @@ bool set_probe_deployed(const bool deploy) {
return false;
}
#if Z_AFTER_PROBING
#ifdef Z_AFTER_PROBING
// After probing move to a preferred Z position
void move_z_after_probing() {
if (current_position[Z_AXIS] != Z_AFTER_PROBING) {

View File

@ -32,7 +32,7 @@
#if HAS_BED_PROBE
extern float zprobe_zoffset;
bool set_probe_deployed(const bool deploy);
#if Z_AFTER_PROBING
#ifdef Z_AFTER_PROBING
void move_z_after_probing();
#endif
enum ProbePtRaise : unsigned char {