projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo.
[bertos.git]
/
bertos
/
struct
/
bitarray.h
diff --git
a/bertos/struct/bitarray.h
b/bertos/struct/bitarray.h
index fdd9b86f91b82600a6475cd48aac584778883257..36d1aa2abef552c051f695abd7c2ebe32cb1ec38 100644
(file)
--- a/
bertos/struct/bitarray.h
+++ b/
bertos/struct/bitarray.h
@@
-52,8
+52,8
@@
typedef struct BitArray
uint8_t *array;
} BitArray;
uint8_t *array;
} BitArray;
-#define
ALLOC_BITARRAY
(name, size) uint8_t name[DIV_ROUNDUP((size), 8)]
-#define BIT
_
ARRAY_SIZE(name) (sizeof((name)) * 8)
+#define
BITARRAY_ALLOC
(name, size) uint8_t name[DIV_ROUNDUP((size), 8)]
+#define BITARRAY_SIZE(name) (sizeof((name)) * 8)
INLINE void bitarray_set(BitArray *bitx, int idx)
{
INLINE void bitarray_set(BitArray *bitx, int idx)
{