Fix fastio extra parenthesis

This commit is contained in:
Alex Voinea 2020-08-21 10:51:46 +03:00
parent 772844678f
commit 1659f61dd5
No known key found for this signature in database
GPG key ID: F5034E7CFCF2F973

View file

@ -58,7 +58,7 @@
#define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
/// 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