Cleanup and consolidate probe conditionals for clarity
This commit is contained in:
parent
d7819298ca
commit
15fc93d742
6 changed files with 89 additions and 59 deletions
|
|
@ -88,7 +88,7 @@ class Endstops {
|
|||
FORCE_INLINE void hit_on_purpose() { endstop_hit_bits = 0; }
|
||||
|
||||
// Enable / disable endstop z-probe checking
|
||||
#if ENABLED(HAS_Z_MIN_PROBE)
|
||||
#if HAS_BED_PROBE
|
||||
volatile bool z_probe_enabled = false;
|
||||
FORCE_INLINE void enable_z_probe(bool onoff=true) { z_probe_enabled = onoff; }
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue