Cleanup and consolidate probe conditionals for clarity
This commit is contained in:
1 parent
d7819298ca
commit
15fc93d742
6 files changed
+89
-59
No files matched your search
+1
-1
@@ -282,7 +282,7 @@ void Stepper::isr() {
|
||||
if (current_block != NULL) {
|
||||
|
||||
// Update endstops state, if enabled
|
||||
#if ENABLED(HAS_Z_MIN_PROBE)
|
||||
#if HAS_BED_PROBE
|
||||
if (endstops.enabled || endstops.z_probe_enabled) endstops.update();
|
||||
#else
|
||||
if (endstops.enabled) endstops.update();
|
||||
|
||||
Reference in new issue
Block a user