Browse Source

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

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
GhostlyCrowd 4 years ago
parent
commit
c8f7aceb20
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/HAL/STM32/fastio.h

+ 1
- 0
Marlin/src/HAL/STM32/fastio.h View File

81
 #define IS_OUTPUT(IO)
81
 #define IS_OUTPUT(IO)
82
 
82
 
83
 #define PWM_PIN(P)              digitalPinHasPWM(P)
83
 #define PWM_PIN(P)              digitalPinHasPWM(P)
84
+#define NO_COMPILE_TIME_PWM
84
 
85
 
85
 // digitalRead/Write wrappers
86
 // digitalRead/Write wrappers
86
 #define extDigitalRead(IO)    digitalRead(IO)
87
 #define extDigitalRead(IO)    digitalRead(IO)

Loading…
Cancel
Save