From cd36809c06ecf5419afbd77b347f85b7e1982438 Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Thu, 11 Jul 2019 22:23:53 +0200 Subject: [PATCH] Fix STM32F7 compile error (#14583) --- Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp b/Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp index ed1dfd3851..2f60bf3546 100644 --- a/Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp +++ b/Marlin/src/HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.cpp @@ -895,4 +895,6 @@ inline void TMC26XStepper::send262(uint32_t datagram) { driver_status_result = i_datagram; } +#endif // HAS_DRIVER(TMC2660) + #endif // STM32GENERIC && STM32F7