fix test compile

This commit is contained in:
Matthias Ringwald 2016-01-20 16:23:34 +01:00
parent dc4b18a40a
commit f032a44114
4 changed files with 14 additions and 14 deletions

View File

@ -13,15 +13,15 @@ VPATH += ${BTSTACK_ROOT}/platform/posix
COMMON = \
ad_parser.c \
btstack_linked_list.c \
btstack_linked_list.c \
btstack_memory.c \
btstack_memory_pool.c \
btstack_run_loop.c \
btstack_run_loop_posix.c \
btstack_util.c \
hci.c \
hci_cmds.c \
hci_dump.c \
btstack_memory_pool.c \
run_loop.c \
btstack_run_loop_posix.c \
btstack_util.c \
COMMON_OBJ = $(COMMON:.c=.o)

View File

@ -10,36 +10,36 @@ include ${BTSTACK_ROOT}/example/embedded/Makefile.inc
COMMON = \
sdp.c \
sdp_query_rfcomm.c \
btstack_linked_list.c \
btstack_linked_list.c \
btstack_memory.c \
btstack_memory_pool.c \
btstack_run_loop.c \
btstack_run_loop_posix.c \
btstack_util.c \
hci.c \
hci_cmds.c \
hci_dump.c \
l2cap.c \
l2cap_signaling.c \
btstack_memory_pool.c \
remote_device_db_memory.c \
rfcomm.c \
run_loop.c \
btstack_run_loop_posix.c \
sdp_client.c \
sdp_parser.c \
sdp_query_util.c \
sdp_util.c \
btstack_util.c \
MOCK = \
mock.c \
test_sequences.c \
btstack_linked_list.c \
btstack_linked_list.c \
btstack_memory.c \
hci_cmds.c \
hci_dump.c \
btstack_memory_pool.c \
btstack_memory_pool.c \
remote_device_db_memory.c \
sdp_util.c \
btstack_util.c \
btstack_util.c \
COMMON_OBJ = $(COMMON:.c=.o)
MOCK_OBJ = $(MOCK:.c=.o)

View File

@ -23,7 +23,7 @@ static btstack_linked_list_t connections;
void mock_init(void){
the_connection.item.next = NULL;
connections = (linked_item*) &the_connection;
connections = (btstack_linked_item*) &the_connection;
}
uint8_t * mock_packet_buffer(void){