STM32: No compile-time check for PWM_PIN (#18539)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
GhostlyCrowd 2020-07-05 17:05:47 -04:00 committed by GitHub
parent dc6d8357a6
commit c8f7aceb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ void FastIO_init(); // Must be called before using fast io macros
#define IS_OUTPUT(IO) #define IS_OUTPUT(IO)
#define PWM_PIN(P) digitalPinHasPWM(P) #define PWM_PIN(P) digitalPinHasPWM(P)
#define NO_COMPILE_TIME_PWM
// digitalRead/Write wrappers // digitalRead/Write wrappers
#define extDigitalRead(IO) digitalRead(IO) #define extDigitalRead(IO) digitalRead(IO)