diff options
| author | tmk <nobody@nowhere> | 2012-11-24 16:34:59 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-11-24 16:34:59 +0900 |
| commit | 94b4fba6e6afa6d7d68051a1ceb6987bb6002ccd (patch) | |
| tree | bd9f35b876d13bca20c7655fbbb93f4733aea0dd /common/util.h | |
| parent | 83f0e800e53a6d91a814d19f94bc5401a6322971 (diff) | |
| download | qmk_firmware-94b4fba6e6afa6d7d68051a1ceb6987bb6002ccd.tar.gz qmk_firmware-94b4fba6e6afa6d7d68051a1ceb6987bb6002ccd.zip | |
Add bitpop16() in util.c.
Diffstat (limited to 'common/util.h')
| -rw-r--r-- | common/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h index 87636c971..c3734487f 100644 --- a/common/util.h +++ b/common/util.h | |||
| @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef UTIL_H | 18 | #ifndef UTIL_H |
| 19 | #define UTIL_H 1 | 19 | #define UTIL_H |
| 20 | 20 | ||
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | 22 | ||
| @@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | uint8_t bitpop(uint8_t bits); | 31 | uint8_t bitpop(uint8_t bits); |
| 32 | uint8_t bitpop16(uint16_t bits); | ||
| 32 | uint8_t biton(uint8_t bits); | 33 | uint8_t biton(uint8_t bits); |
| 33 | 34 | ||
| 34 | #endif | 35 | #endif |
