diff options
author | tmk <nobody@nowhere> | 2010-12-08 01:47:57 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-12-08 01:57:55 +0900 |
commit | 51f17f02317700e64b3c1113fe230d78bac7fecd (patch) | |
tree | a040a624004cd3cec2d2fd122069554a4039b8e1 /util.c | |
parent | 66ece29b0e14534d57b680db47a5967d5264ca85 (diff) |
add build option: NKRO_ENABLE(remove: USB_12KRO)
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ #include "util.h" +// bit population int bitpop(uint8_t bits) { int c; @@ -8,6 +9,7 @@ int bitpop(uint8_t bits) return c; } +// most significant on-bit int biton(uint8_t bits) { int n = 0; |