mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
fix test compile
This commit is contained in:
parent
dc4b18a40a
commit
f032a44114
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user