1
0
Fork 0

add build option: NKRO_ENABLE(remove: USB_12KRO)

This commit is contained in:
tmk 2010-12-08 01:47:57 +09:00
parent 66ece29b0e
commit 51f17f0231
12 changed files with 413 additions and 259 deletions

2
util.c
View file

@ -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;