Skip to content

Commit

Permalink
firstSetBit should be inline
Browse files Browse the repository at this point in the history
  • Loading branch information
andysworkshop committed Oct 31, 2015
1 parent ee20900 commit bb243bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/include/util/BitHacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace stm32plus {
* @return 0..31
*/

uint8_t firstSetBit(uint32_t word) {
inline uint8_t firstSetBit(uint32_t word) {

static const uint8_t MultiplyDeBruijnBitPosition[32] = {
0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8,
Expand Down

0 comments on commit bb243bd

Please sign in to comment.