Explorar el Código

More additional sanity checks for Z_PROBE_AND_ENDSTOP

Chris Roadfeldt hace 10 años
padre
commit
82d2f11129
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      Marlin/SanityCheck.h

+ 3
- 0
Marlin/SanityCheck.h Ver fichero

115
       #ifndef SERVO_ENDSTOPS
115
       #ifndef SERVO_ENDSTOPS
116
         #error You must have SERVO_ENDSTOPS defined and have the Z index set to at least 1 to use Z_PROBE_AND_ENDSTOP
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
       #endif
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
     #endif
121
     #endif
119
     /**
122
     /**
120
      * Check if Probe_Offset * Grid Points is greater than Probing Range
123
      * Check if Probe_Offset * Grid Points is greater than Probing Range

Loading…
Cancelar
Guardar