add build option: NKRO_ENABLE(remove: USB_12KRO)
This commit is contained in:
parent
66ece29b0e
commit
51f17f0231
12 changed files with 413 additions and 259 deletions
2
util.c
2
util.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue