mtk: fix compile

This commit is contained in:
Matthias Ringwald 2016-04-20 23:27:58 +02:00
parent 084ad01c1a
commit 2778f48c98
2 changed files with 3 additions and 2 deletions

View File

@ -46,6 +46,7 @@ BTdaemon_OBJS = $(libBTstack_OBJS) \
gatt_client.o \
hci.o \
hci_transport_h4_mtk.o \
btstack_uart_block_posix.o \
l2cap.o \
l2cap_signaling.o \
le_device_db_memory.o \
@ -56,7 +57,7 @@ BTdaemon_OBJS = $(libBTstack_OBJS) \
att_db.o \
att_server.o \
sdp_client.o \
sdp_client_rfcomm.o \
sdp_client_rfcomm.o \
all: $(TOOLCHAIN) version BTstackDaemon libBTstack.so BTstackDaemonRespawn inquiry le_scan rfcomm_echo dist

View File

@ -156,7 +156,7 @@ static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){
}
// get h4 singleton
const hci_transport_t * hci_transport_h4_instance(void){
const hci_transport_t * hci_transport_h4_instance(const btstack_uart_block_t * uart_driver){
if (hci_transport_h4 == NULL) {
hci_transport_h4 = (hci_transport_h4_t*)malloc( sizeof(hci_transport_h4_t));
memset(hci_transport_h4, 0, sizeof(hci_transport_h4_t));