Tweak use of move_z_after_probing
This commit is contained in:
@ -465,7 +465,7 @@ bool set_probe_deployed(const bool deploy) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef Z_AFTER_PROBING
|
||||
#if Z_AFTER_PROBING
|
||||
// After probing move to a preferred Z position
|
||||
void move_z_after_probing() {
|
||||
if (current_position[Z_AXIS] != Z_AFTER_PROBING) {
|
||||
|
@ -32,10 +32,8 @@
|
||||
#if HAS_BED_PROBE
|
||||
extern float zprobe_zoffset;
|
||||
bool set_probe_deployed(const bool deploy);
|
||||
#ifdef Z_AFTER_PROBING
|
||||
#if Z_AFTER_PROBING
|
||||
void move_z_after_probing();
|
||||
#else
|
||||
inline void move_z_after_probing() {}
|
||||
#endif
|
||||
enum ProbePtRaise : unsigned char {
|
||||
PROBE_PT_NONE, // No raise or stow after run_z_probe
|
||||
|
Reference in New Issue
Block a user