projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: add doxygen documentation
[bertos.git]
/
bertos
/
struct
/
bitarray_test.c
diff --git
a/bertos/struct/bitarray_test.c
b/bertos/struct/bitarray_test.c
index 250977de4c24ce9070d3a3c5180dfe0d701db284..b917d0f4d60ec89fbf51c576b2b0d020db674843 100644
(file)
--- a/
bertos/struct/bitarray_test.c
+++ b/
bertos/struct/bitarray_test.c
@@
-46,8
+46,8
@@
#define TEST1_LEN 31
#define TEST2_LEN 17
#define TEST1_LEN 31
#define TEST2_LEN 17
-
ALLOC_BITARRAY
(test1, TEST1_LEN);
-
ALLOC_BITARRAY
(test2, TEST2_LEN);
+
BITARRAY_ALLOC
(test1, TEST1_LEN);
+
BITARRAY_ALLOC
(test2, TEST2_LEN);
BitArray bitx1;
BitArray bitx2;
BitArray bitx1;
BitArray bitx2;
@@
-55,8
+55,8
@@
BitArray bitx2;
int bitarray_testSetup(void)
{
kdbg_init();
int bitarray_testSetup(void)
{
kdbg_init();
-
init_bitarray
(&bitx1, TEST1_LEN, test1, sizeof(test1));
-
init_bitarray
(&bitx2, TEST2_LEN, test2, sizeof(test2));
+
bitarray_init
(&bitx1, TEST1_LEN, test1, sizeof(test1));
+
bitarray_init
(&bitx2, TEST2_LEN, test2, sizeof(test2));
return 0;
}
return 0;
}