summaryrefslogtreecommitdiffstats
path: root/libs/bitfield-c/README.mkd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bitfield-c/README.mkd')
-rw-r--r--libs/bitfield-c/README.mkd6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/bitfield-c/README.mkd b/libs/bitfield-c/README.mkd
index 439b3dd0..8fa723f9 100644
--- a/libs/bitfield-c/README.mkd
+++ b/libs/bitfield-c/README.mkd
@@ -9,10 +9,10 @@ started, here are examples using the API:
## Bitfield Manipulation
-The bitfields are stored in `uint8_t[]`.
+The bitfields are stored in `unsigned int[]`.
- uint8_t data[4] = {0x12, 0x34, 0x56, 0x78};
- uint8_t result = get_byte(data, sizeof(data), 0);
+ unsigned int data[4] = {0x12, 0x34, 0x56, 0x78};
+ unsigned int result = get_byte(data, sizeof(data), 0);
// result = 0x12;
result = get_nibble(data, sizeof(data), 0);
// result = 0x1;