From 65adea624011b9b38e4980d938c90c3a72dc3852 Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Sat, 24 Mar 2018 13:51:01 -0500 Subject: [PATCH] remove TMC version checks, move comment --- Marlin/SanityCheck.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index b15e148b36..5b951c99b9 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -1430,8 +1430,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || ENABLED(E3_IS_TMC2130) \ || ENABLED(E4_IS_TMC2130) ) #error "HAVE_TMC2130 requires at least one TMC2130 stepper to be set." - #elif TMC2130STEPPER_VERSION < 0x020201 - #error "Update TMC2130Stepper library to 2.2.1 or newer." #elif ENABLED(HYBRID_THRESHOLD) && DISABLED(STEALTHCHOP) #error "Enable STEALTHCHOP to use HYBRID_THRESHOLD." #endif @@ -1513,7 +1511,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || ENABLED(E3_IS_TMC2208) \ || ENABLED(E4_IS_TMC2208 ) ) #error "HAVE_TMC2208 requires at least one TMC2208 stepper to be set." - #elif ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && \ // Software UART and ENDSTOP_INTERRUPTS both use Pin Change interrupts (PCI) + // Software UART and ENDSTOP_INTERRUPTS both use Pin Change interrupts (PCI) + #elif ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && \ !( defined( X_HARDWARE_SERIAL) \ || defined(X2_HARDWARE_SERIAL) \ || defined( Y_HARDWARE_SERIAL) \ @@ -1526,8 +1525,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || defined(E3_HARDWARE_SERIAL) \ || defined(E4_HARDWARE_SERIAL) ) #error "Select *_HARDWARE_SERIAL to use both TMC2208 and ENDSTOP_INTERRUPTS_FEATURE." - #elif TMC2208STEPPER_VERSION < 0x000101 - #error "Update TMC2130Stepper library to 0.1.1 or newer." #endif #endif