Procházet zdrojové kódy

Fix bug in fastio.h _GET_TIMER

Scott Lahteine před 7 roky
rodič
revize
9dfd029911
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      Marlin/fastio.h

+ 1
- 1
Marlin/fastio.h Zobrazit soubor

@@ -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…
Zrušit
Uložit