mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 12:32:54 +00:00
mtk: fix compile
This commit is contained in:
parent
084ad01c1a
commit
2778f48c98
@ -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
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user