mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 07:17:59 +00:00
Fix #1611
Warning: suggest parentheses around comparison in operand of & pretty much helped.
This commit is contained in:
parent
5efc798642
commit
f0dcea7e14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user