From e5ce65c32b0c7d4637d75768c13d7d673d1f387b Mon Sep 17 00:00:00 2001 From: narno2202 <130909513+narno2202@users.noreply.github.com> Date: Tue, 6 Aug 2024 00:54:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20BIQU=20MicroProbe=20+=20FT=5FMOT?= =?UTF-8?q?ION=20sanity-check=20(#27302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/Configuration.h | 2 +- Marlin/src/inc/SanityCheck.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 461101368ed6..26595f93fed0 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1467,7 +1467,7 @@ * A lightweight, solenoid-driven probe. * For information about this sensor https://github.com/bigtreetech/MicroProbe * - * Also requires: PROBE_ENABLE_DISABLE + * Also requires: PROBE_ENABLE_DISABLE, ENDSTOP_INTERRUPTS_FEATURE if FT_MOTION is enabled. */ //#define BIQU_MICROPROBE_V1 // Triggers HIGH //#define BIQU_MICROPROBE_V2 // Triggers LOW diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index e733f87e4e80..59317002b032 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -1389,6 +1389,10 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i #error "BIQU MicroProbe requires a PROBE_ENABLE_PIN." #endif + #if ENABLED(FT_MOTION) && DISABLED(ENDSTOP_INTERRUPTS_FEATURE) + #error "BIQU Microprobe requires ENDSTOP_INTERRUPTS_FEATURE with FT_MOTION." + #endif + #if ENABLED(BIQU_MICROPROBE_V1) #if ENABLED(INVERTED_PROBE_STATE) #if Z_MIN_PROBE_ENDSTOP_HIT_STATE != LOW