Browse Source

as a workaround enable PWM for any pin, see PR #8622

Harald Gutsche 7 years ago
parent
commit
f5b4e1ef4f
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/src/HAL/HAL_LPC1768/fastio.h

+ 4
- 1
Marlin/src/HAL/HAL_LPC1768/fastio.h View File

100
 // hg42: instead use PWM bit from the #define
100
 // hg42: instead use PWM bit from the #define
101
 
101
 
102
 /// check if pin is an timer
102
 /// check if pin is an timer
103
-#define _GET_TIMER(IO)        LPC1768_PIN_PWM(IO)
103
+#define _GET_TIMER(IO)        TRUE  // could be LPC1768_PIN_PWM(IO), but there
104
+// hg42: could be this:
105
+// #define _GET_TIMER(IO)        LPC1768_PIN_PWM(IO)
106
+// but this is an incomplete check (12 pins are PWMable, but only 6 can be used at the same time)
104
 
107
 
105
 /// Read a pin wrapper
108
 /// Read a pin wrapper
106
 #define READ(IO)  _READ(IO)
109
 #define READ(IO)  _READ(IO)

Loading…
Cancel
Save