summaryrefslogtreecommitdiffstats
path: root/README.mkd
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 14:20:12 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 14:21:27 -0500
commit3a6af99be9a10f795b84a5783939b86d7102fb63 (patch)
tree237302584675ab0d838f70e52a20f429c7074da7 /README.mkd
parente5a2a6b9550319cf05c3a3ae93080b17d322078e (diff)
Standardize function names to snake_case.
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