Tweaks to core headers
This commit is contained in:
parent
4b2f6e3b2b
commit
4118199ddd
4 changed files with 6 additions and 4 deletions
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
// Macros for bit masks
|
||||
#undef _BV
|
||||
#define _BV(b) (1 << (b))
|
||||
#define _BV(n) (1<<(n))
|
||||
#define TEST(n,b) !!((n)&_BV(b))
|
||||
#define SBI(n,b) (n |= _BV(b))
|
||||
#define CBI(n,b) (n &= ~_BV(b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue