fix security manager test compile

This commit is contained in:
matthias.ringwald 2014-06-12 08:51:16 +00:00
parent 5c16dde5c9
commit 4ab5a83143
2 changed files with 6 additions and 2 deletions

View File

@ -5,8 +5,8 @@ CC = g++
BTSTACK_ROOT = ../.. BTSTACK_ROOT = ../..
CPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest CPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest
CFLAGS = -DUNIT_TEST -g -Wall -I. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include -I$(CPPUTEST_HOME)/include CFLAGS = -DUNIT_TEST -x c++ -g -Wall -I. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include -I$(CPPUTEST_HOME)/include
LDFLAGS += -L$(CPPUTEST_HOME) -lCppUTest -lCppUTestExt LDFLAGS += -L$(CPPUTEST_HOME)/lib -lCppUTest -lCppUTestExt
COMMON = \ COMMON = \
${BTSTACK_ROOT}/src/utils.c \ ${BTSTACK_ROOT}/src/utils.c \

View File

@ -200,5 +200,9 @@ void hci_disconnect_security_block(hci_con_handle_t con_handle){
printf("hci_disconnect_security_block \n"); printf("hci_disconnect_security_block \n");
} }
int hci_non_flushable_packet_boundary_flag_supported(){
return 1;
}
void l2cap_run(void){ void l2cap_run(void){
} }