Browse Source

Move SENSORLESS_PROBING to the probes section

Fixes a bug with HAS_BED_PROBE not being set before use.
Scott Lahteine 4 years ago
parent
commit
0578e9b16e
2 changed files with 8 additions and 8 deletions
  1. 8
    0
      Marlin/Configuration.h
  2. 0
    8
      Marlin/Configuration_adv.h

+ 8
- 0
Marlin/Configuration.h View File

925
   #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin
925
   #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin
926
 #endif
926
 #endif
927
 
927
 
928
+/**
929
+ * Use StallGuard2 to probe the bed with the nozzle.
930
+ * Requires stallGuard-capable Trinamic stepper drivers.
931
+ * CAUTION: This can damage machines with Z lead screws.
932
+ *          Take extreme care when setting up this feature.
933
+ */
934
+//#define SENSORLESS_PROBING
935
+
928
 //
936
 //
929
 // For Z_PROBE_ALLEN_KEY see the Delta example configurations.
937
 // For Z_PROBE_ALLEN_KEY see the Delta example configurations.
930
 //
938
 //

+ 0
- 8
Marlin/Configuration_adv.h View File

2308
    */
2308
    */
2309
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
2309
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
2310
 
2310
 
2311
-  /**
2312
-   * Use StallGuard2 to probe the bed with the nozzle.
2313
-   *
2314
-   * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
2315
-   *          to move the Z axis. Take extreme care when attempting to enable this feature.
2316
-   */
2317
-  //#define SENSORLESS_PROBING // StallGuard capable drivers only
2318
-
2319
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
2311
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
2320
     // TMC2209: 0...255. TMC2130: -64...63
2312
     // TMC2209: 0...255. TMC2130: -64...63
2321
     #define X_STALL_SENSITIVITY  8
2313
     #define X_STALL_SENSITIVITY  8

Loading…
Cancel
Save