HAL FastIO cleanup and fixes

This commit is contained in:
Scott Lahteine
2018-04-26 00:40:16 -05:00
parent 5b5e322356
commit 456cf971af
5 changed files with 52 additions and 50 deletions

View File

@ -99,7 +99,7 @@
// Macros for bit masks
#undef _BV
#define _BV(b) (1<<(b))
#define _BV(b) (1 << (b))
#define TEST(n,b) !!((n)&_BV(b))
#define SBI(n,b) (n |= _BV(b))
#define CBI(n,b) (n &= ~_BV(b))