Tweaks to core headers

This commit is contained in:
Scott Lahteine
2018-05-21 20:32:10 -05:00
parent 4b2f6e3b2b
commit 4118199ddd
4 changed files with 6 additions and 4 deletions

View File

@ -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))