Переглянути джерело

Don't use Z_MIN_PROBE_ENDSTOP on DELTA

Scott Lahteine 7 роки тому
джерело
коміт
d24b1190bd

+ 2
- 2
Marlin/src/config/examples/delta/generic/Configuration.h Переглянути файл

655
  *
655
  *
656
  * Enable this option for a probe connected to the Z Min endstop pin.
656
  * Enable this option for a probe connected to the Z Min endstop pin.
657
  */
657
  */
658
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
658
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
659
 
659
 
660
 /**
660
 /**
661
  * Z_MIN_PROBE_ENDSTOP
661
  * Z_MIN_PROBE_ENDSTOP
676
  * disastrous consequences. Use with caution and do your homework.
676
  * disastrous consequences. Use with caution and do your homework.
677
  *
677
  *
678
  */
678
  */
679
-#define Z_MIN_PROBE_ENDSTOP
679
+//#define Z_MIN_PROBE_ENDSTOP
680
 
680
 
681
 /**
681
 /**
682
  * Probe Type
682
  * Probe Type

+ 2
- 2
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Переглянути файл

667
  *
667
  *
668
  * Enable this option for a probe connected to the Z Min endstop pin.
668
  * Enable this option for a probe connected to the Z Min endstop pin.
669
  */
669
  */
670
-//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
670
+#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
671
 
671
 
672
 /**
672
 /**
673
  * Z_MIN_PROBE_ENDSTOP
673
  * Z_MIN_PROBE_ENDSTOP
688
  * disastrous consequences. Use with caution and do your homework.
688
  * disastrous consequences. Use with caution and do your homework.
689
  *
689
  *
690
  */
690
  */
691
-#define Z_MIN_PROBE_ENDSTOP
691
+//#define Z_MIN_PROBE_ENDSTOP
692
 
692
 
693
 /**
693
 /**
694
  * Probe Type
694
  * Probe Type

+ 3
- 1
Marlin/src/inc/SanityCheck.h Переглянути файл

588
  * Delta requirements
588
  * Delta requirements
589
  */
589
  */
590
 #if ENABLED(DELTA)
590
 #if ENABLED(DELTA)
591
-  #if DISABLED(USE_XMAX_PLUG) && DISABLED(USE_YMAX_PLUG) && DISABLED(USE_ZMAX_PLUG)
591
+  #if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_ENDSTOP)
592
+    #error "Delta probably shouldn't use Z_MIN_PROBE_ENDSTOP. Comment out this line to continue."
593
+  #elif DISABLED(USE_XMAX_PLUG) && DISABLED(USE_YMAX_PLUG) && DISABLED(USE_ZMAX_PLUG)
592
     #error "You probably want to use Max Endstops for DELTA!"
594
     #error "You probably want to use Max Endstops for DELTA!"
593
   #elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_DELTA
595
   #elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_DELTA
594
     #error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL."
596
     #error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL."

Завантаження…
Відмінити
Зберегти