From 51f17f02317700e64b3c1113fe230d78bac7fecd Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 8 Dec 2010 01:47:57 +0900 Subject: add build option: NKRO_ENABLE(remove: USB_12KRO) --- util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index b02d077cc3..efc7c14818 100644 --- a/util.c +++ b/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; -- cgit v1.2.3