From 0578e9b16e7b043935460839a860d6c20496d278 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 5 Mar 2020 11:03:35 -0600 Subject: [PATCH] Move SENSORLESS_PROBING to the probes section Fixes a bug with HAS_BED_PROBE not being set before use. --- Marlin/Configuration.h | 8 ++++++++ Marlin/Configuration_adv.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 5679aa3093..5bbaeba741 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -925,6 +925,14 @@ #define SMART_EFFECTOR_MOD_PIN -1 // Connect a GPIO pin to the Smart Effector MOD pin #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. // diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 4a216fc455..dda0727412 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -2308,14 +2308,6 @@ */ //#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) // TMC2209: 0...255. TMC2130: -64...63 #define X_STALL_SENSITIVITY 8