From c8f7aceb20fb861b486b17710001c6cdbc05c3db Mon Sep 17 00:00:00 2001 From: GhostlyCrowd Date: Sun, 5 Jul 2020 17:05:47 -0400 Subject: [PATCH] STM32: No compile-time check for PWM_PIN (#18539) Co-authored-by: Scott Lahteine --- Marlin/src/HAL/STM32/fastio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/src/HAL/STM32/fastio.h b/Marlin/src/HAL/STM32/fastio.h index c17901fa99..030b369ede 100644 --- a/Marlin/src/HAL/STM32/fastio.h +++ b/Marlin/src/HAL/STM32/fastio.h @@ -81,6 +81,7 @@ void FastIO_init(); // Must be called before using fast io macros #define IS_OUTPUT(IO) #define PWM_PIN(P) digitalPinHasPWM(P) +#define NO_COMPILE_TIME_PWM // digitalRead/Write wrappers #define extDigitalRead(IO) digitalRead(IO)