File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
15
15
- Properly report compile errors in GitHub Actions (#296 )
16
16
- Put build artifacts in a separate directory to reduce clutter.
17
17
- Change 266 files from CRLF to LF.
18
+ - Add ` _BV() ` macro.
18
19
- Replace ` #define yield() _NOP() ` with ` inline void yield() { _NOP(); } ` so that other code can define a ` yield() ` function.
19
20
- Update .gitattributes so we have consistent line endings
20
21
- Run tests on push as well as on a pull request so developers can see impact
Original file line number Diff line number Diff line change @@ -50,10 +50,7 @@ inline void noInterrupts() { _NOP(); }
50
50
51
51
typedef unsigned int word ;
52
52
53
- #define bit (b ) (1UL << (b))
54
-
55
-
56
-
53
+ #define _BV (bit ) (1 << (bit))
57
54
58
55
// Get the bit location within the hardware port of the given virtual pin.
59
56
// This comes from the pins_*.c file for the active board configuration.
You can’t perform that action at this time.
0 commit comments