mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
as a workaround enable PWM for any pin, see PR #8622
This commit is contained in:
parent
d1f11e9c10
commit
f5b4e1ef4f
@ -100,7 +100,10 @@ bool useable_hardware_PWM(pin_t pin);
|
|||||||
// hg42: instead use PWM bit from the #define
|
// hg42: instead use PWM bit from the #define
|
||||||
|
|
||||||
/// check if pin is an timer
|
/// check if pin is an timer
|
||||||
#define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
|
#define _GET_TIMER(IO) TRUE // could be LPC1768_PIN_PWM(IO), but there
|
||||||
|
// hg42: could be this:
|
||||||
|
// #define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
|
||||||
|
// but this is an incomplete check (12 pins are PWMable, but only 6 can be used at the same time)
|
||||||
|
|
||||||
/// Read a pin wrapper
|
/// Read a pin wrapper
|
||||||
#define READ(IO) _READ(IO)
|
#define READ(IO) _READ(IO)
|
||||||
|
Loading…
Reference in New Issue
Block a user