Browse Source

Fix bug in fastio.h _GET_TIMER

Scott Lahteine 8 years ago
parent
commit
9dfd029911
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/fastio.h

+ 1
- 1
Marlin/fastio.h View File

@@ -79,7 +79,7 @@
79 79
 #define _GET_OUTPUT(IO)  ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
80 80
 
81 81
 /// check if pin is an timer
82
-#define _GET_TIMER(IO)  ((DIO ## IO ## _PWM)
82
+#define _GET_TIMER(IO)  (DIO ## IO ## _PWM)
83 83
 
84 84
 //  why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
85 85
 

Loading…
Cancel
Save