From c685c7b7dd725a24160098632849266f16d7bd46 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 3 Jun 2018 04:30:15 -0500 Subject: [PATCH] STM32F4: All pins can do PWM --- Marlin/src/HAL/HAL_STM32F4/fastio_STM32F4.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/HAL/HAL_STM32F4/fastio_STM32F4.h b/Marlin/src/HAL/HAL_STM32F4/fastio_STM32F4.h index 27071acadd..e185344dc2 100644 --- a/Marlin/src/HAL/HAL_STM32F4/fastio_STM32F4.h +++ b/Marlin/src/HAL/HAL_STM32F4/fastio_STM32F4.h @@ -31,6 +31,8 @@ #define _BV(b) (1 << (b)) +#define USEABLE_HARDWARE_PWM(p) true + #define READ(IO) digitalRead(IO) #define WRITE(IO,V) digitalWrite(IO,V) #define WRITE_VAR(IO,V) WRITE(IO,V)