|
@@ -102,7 +102,7 @@ bool useable_hardware_PWM(pin_t pin);
|
102
|
102
|
// hg42: we cannot use USEABLE_HARDWARE_PWM because it uses a function that cannot be used statically
|
103
|
103
|
// hg42: instead use PWM bit from the #define
|
104
|
104
|
|
105
|
|
-/// check if pin is an timer
|
|
105
|
+/// check if pin is a timer
|
106
|
106
|
#define _GET_TIMER(IO) TRUE // could be LPC1768_PIN_PWM(IO), but there
|
107
|
107
|
// hg42: could be this:
|
108
|
108
|
// #define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
|
|
@@ -132,7 +132,7 @@ bool useable_hardware_PWM(pin_t pin);
|
132
|
132
|
/// check if pin is an output wrapper
|
133
|
133
|
#define GET_OUTPUT(IO) _GET_OUTPUT(IO)
|
134
|
134
|
|
135
|
|
-/// check if pin is an timer wrapper
|
|
135
|
+/// check if pin is a timer (wrapper)
|
136
|
136
|
#define GET_TIMER(IO) _GET_TIMER(IO)
|
137
|
137
|
|
138
|
138
|
// Shorthand
|