From 0ba19fae04ee48392872a9647a3b711b9115f147 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Sun, 29 Dec 2013 14:40:15 -0500 Subject: Add get_byte and get_nibble to 8byte function set. --- src/bitfield/bitfield.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/bitfield/bitfield.c') diff --git a/src/bitfield/bitfield.c b/src/bitfield/bitfield.c index 7dfa7cd4..af17d485 100644 --- a/src/bitfield/bitfield.c +++ b/src/bitfield/bitfield.c @@ -3,8 +3,6 @@ #include #include -#define NIBBLE_SIZE (CHAR_BIT / 2) - uint8_t get_nibble(const uint8_t source[], const uint8_t source_length, const uint8_t nibble_index) { uint8_t byte_index = nibble_index / 2; -- cgit 1.2.3-korg