Browse Source

Fix #1611

Warning: suggest parentheses around comparison in operand of &

pretty much helped.
AnHardt 9 years ago
parent
commit
f0dcea7e14
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin.h

+ 1
- 1
Marlin/Marlin.h View File

@@ -33,7 +33,7 @@
33 33
 #endif
34 34
 
35 35
 #define BIT(b) (1<<(b))
36
-#define TEST(n,b) ((n)&BIT(b)!=0)
36
+#define TEST(n,b) (((n)&BIT(b))!=0)
37 37
 
38 38
 // Arduino < 1.0.0 does not define this, so we need to do it ourselves
39 39
 #ifndef analogInputToDigitalPin

Loading…
Cancel
Save