We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_BV()
1 parent 84d7ad4 commit 6762e63Copy full SHA for 6762e63
CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
10
11
### Changed
12
- Change 266 files from CRLF to LF.
13
+- Add `_BV()` macro.
14
15
### Deprecated
16
cpp/arduino/Arduino.h
@@ -50,10 +50,7 @@ typedef uint8_t byte;
50
51
typedef unsigned int word;
52
53
-#define bit(b) (1UL << (b))
54
-
55
56
+#define _BV(bit) (1 << (bit))
57
58
// Get the bit location within the hardware port of the given virtual pin.
59
// This comes from the pins_*.c file for the active board configuration.
0 commit comments