summaryrefslogtreecommitdiffstats
path: root/README.mkd
diff options
context:
space:
mode:
Diffstat (limited to 'README.mkd')
-rw-r--r--README.mkd6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.mkd b/README.mkd
index 76feddbe..836b151e 100644
--- a/README.mkd
+++ b/README.mkd
@@ -11,9 +11,9 @@ started, here are examples using the API:
## Bitfield Manipulation
uint8_t data[4] = {0x12, 0x34, 0x56, 0x78};
- uint8_t result = getByte(data, sizeof(data), 0);
- uint8_t result = getNibble(data, sizeof(data), 0);
- fail_unless(copyBitsRightAligned(data, 4, 4, 12, result, 4));
+ uint8_t result = get_byte(data, sizeof(data), 0);
+ uint8_t result = get_nibble(data, sizeof(data), 0);
+ fail_unless(copy_bits_right_aligned(data, 4, 4, 12, result, 4));
## 8 Byte Bitfield Decoding