Browse Source

Properly handle probe pin for BQ printers

Scott Lahteine 7 years ago
parent
commit
11e9530111

+ 2
- 2
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -517,11 +517,11 @@
517 517
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
518 518
 // Use with caution and do your homework.
519 519
 //
520
-//#define Z_MIN_PROBE_ENDSTOP
520
+#define Z_MIN_PROBE_ENDSTOP
521 521
 
522 522
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
523 523
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
524
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
524
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
525 525
 
526 526
 // To use a probe you must enable one of the two options above!
527 527
 

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -519,11 +519,11 @@
519 519
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
520 520
 // Use with caution and do your homework.
521 521
 //
522
-//#define Z_MIN_PROBE_ENDSTOP
522
+#define Z_MIN_PROBE_ENDSTOP
523 523
 
524 524
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
525 525
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
526
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
527 527
 
528 528
 // To use a probe you must enable one of the two options above!
529 529
 

+ 3
- 7
Marlin/pins_BQ_ZUM_MEGA_3D.h View File

@@ -40,6 +40,9 @@
40 40
 #undef X_MAX_PIN
41 41
 #define X_MAX_PIN         79 //  2
42 42
 
43
+#undef Z_MIN_PROBE_PIN
44
+#define Z_MIN_PROBE_PIN   19 // IND_S_5V
45
+
43 46
 #undef Z_ENABLE_PIN
44 47
 #define Z_ENABLE_PIN      77 // 62
45 48
 
@@ -54,10 +57,3 @@
54 57
 
55 58
 #undef PS_ON_PIN             // 12
56 59
 #define PS_ON_PIN         81 // External Power Supply
57
-
58
-#if ENABLED(AUTO_BED_LEVELING_FEATURE)
59
-  #undef Z_MIN_PIN
60
-  #undef Z_MAX_PIN
61
-  #define Z_MIN_PIN       19 // IND_S_5V
62
-  #define Z_MAX_PIN       18 // Z-MIN Label
63
-#endif

Loading…
Cancel
Save