Skip to content

Commit

Permalink
STM32: No compile-time check for PWM_PIN (MarlinFirmware#18539)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
  • Loading branch information
2 people authored and Alexander Yasnogor committed Aug 7, 2020
1 parent d56d1fd commit 5c8e25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/HAL/STM32/fastio.h
Expand Up @@ -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)
Expand Down

0 comments on commit 5c8e25a

Please sign in to comment.