Move SENSORLESS_PROBING to the probes section
Fixes a bug with HAS_BED_PROBE not being set before use.
This commit is contained in:
		@@ -925,6 +925,14 @@
 | 
				
			|||||||
  #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin
 | 
					  #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Use StallGuard2 to probe the bed with the nozzle.
 | 
				
			||||||
 | 
					 * Requires stallGuard-capable Trinamic stepper drivers.
 | 
				
			||||||
 | 
					 * CAUTION: This can damage machines with Z lead screws.
 | 
				
			||||||
 | 
					 *          Take extreme care when setting up this feature.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					//#define SENSORLESS_PROBING
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
 | 
					// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2308,14 +2308,6 @@
 | 
				
			|||||||
   */
 | 
					   */
 | 
				
			||||||
  //#define SENSORLESS_HOMING // StallGuard capable drivers only
 | 
					  //#define SENSORLESS_HOMING // StallGuard capable drivers only
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					 | 
				
			||||||
   * Use StallGuard2 to probe the bed with the nozzle.
 | 
					 | 
				
			||||||
   *
 | 
					 | 
				
			||||||
   * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
 | 
					 | 
				
			||||||
   *          to move the Z axis. Take extreme care when attempting to enable this feature.
 | 
					 | 
				
			||||||
   */
 | 
					 | 
				
			||||||
  //#define SENSORLESS_PROBING // StallGuard capable drivers only
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
 | 
					  #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
 | 
				
			||||||
    // TMC2209: 0...255. TMC2130: -64...63
 | 
					    // TMC2209: 0...255. TMC2130: -64...63
 | 
				
			||||||
    #define X_STALL_SENSITIVITY  8
 | 
					    #define X_STALL_SENSITIVITY  8
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user