Allow no raise after run_z_probe in probe_pt
This commit is contained in:
parent
4eddcf9142
commit
e5fbbbc068
3 changed files with 28 additions and 21 deletions
|
|
@ -389,6 +389,12 @@ void report_current_position();
|
|||
#else
|
||||
inline void move_z_after_probing() {}
|
||||
#endif
|
||||
enum ProbePtRaise : unsigned char {
|
||||
PROBE_PT_NONE, // No raise or stow after run_z_probe
|
||||
PROBE_PT_STOW, // Do a complete stow after run_z_probe
|
||||
PROBE_PT_RAISE // Raise to "between" clearance after run_z_probe
|
||||
};
|
||||
float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after=PROBE_PT_NONE, const uint8_t verbose_level=0, const bool probe_relative=true);
|
||||
#define DEPLOY_PROBE() set_probe_deployed(true)
|
||||
#define STOW_PROBE() set_probe_deployed(false)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue