Browse Source

Sanity check for a real probe with M48

Scott Lahteine 7 years ago
parent
commit
167169e1bf
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/SanityCheck.h

+ 4
- 2
Marlin/SanityCheck.h View File

@@ -599,12 +599,14 @@ static_assert(1 >= 0
599 599
     #else
600 600
       #error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo."
601 601
     #endif
602
-  #elif ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
603
-    #error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
604 602
   #endif
605 603
 
606 604
 #endif
607 605
 
606
+#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST) && !HAS_BED_PROBE
607
+  #error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
608
+#endif
609
+
608 610
 /**
609 611
  * Allow only one bed leveling option to be defined
610 612
  */

Loading…
Cancel
Save