X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Futil.h;h=58b7fdf14530325c4cc04f03961dadfb5ee48ee3;hb=0142e20bf0012eada5ba40caaa63466bfbb095a2;hp=87636c9710bbeb2deb38edae736fe5afd5d37e91;hpb=4ae979f6ef8dbf9e1d1f35be15322ad6d02e2958;p=max%2Ftmk_keyboard.git diff --git a/common/util.h b/common/util.h index 87636c97..58b7fdf1 100644 --- a/common/util.h +++ b/common/util.h @@ -16,7 +16,7 @@ along with this program. If not, see . */ #ifndef UTIL_H -#define UTIL_H 1 +#define UTIL_H #include @@ -29,6 +29,8 @@ along with this program. If not, see . uint8_t bitpop(uint8_t bits); +uint8_t bitpop16(uint16_t bits); uint8_t biton(uint8_t bits); +uint8_t biton16(uint16_t bits); #endif