Merge pull request #1615 from AnHardt/fix-1611

Fix #1611
This commit is contained in:
Scott Lahteine 2015-03-15 15:19:02 -07:00
commit d0d12962e0

View File

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