Merge pull request #2811 from leptun/MK3_fastio_timer_patch
Fix fastio extra parenthesis
This commit is contained in:
commit
b82ee3fc06
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
#define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
|
#define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
|
||||||
|
|
||||||
/// check if pin is an timer
|
/// check if pin is an timer
|
||||||
#define _GET_TIMER(IO) ((DIO ## IO ## _PWM)
|
#define _GET_TIMER(IO) (DIO ## IO ## _PWM)
|
||||||
|
|
||||||
// why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
|
// why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue