Procházet zdrojové kódy

More additional sanity checks for Z_PROBE_AND_ENDSTOP

Chris Roadfeldt před 10 roky
rodič
revize
82d2f11129
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3
    0
      Marlin/SanityCheck.h

+ 3
- 0
Marlin/SanityCheck.h Zobrazit soubor

@@ -115,6 +115,9 @@
115 115
       #ifndef SERVO_ENDSTOPS
116 116
         #error You must have SERVO_ENDSTOPS defined and have the Z index set to at least 1 to use Z_PROBE_AND_ENDSTOP
117 117
       #endif
118
+      #ifndef SERVO_ENDSTOP_ANGLES
119
+        #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_PROBE_AND_ENSTOP
120
+      #endif
118 121
     #endif
119 122
     /**
120 123
      * Check if Probe_Offset * Grid Points is greater than Probing Range

Loading…
Zrušit
Uložit