mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
fix compile
This commit is contained in:
parent
43716165be
commit
8121ebc2cb
@ -127,9 +127,8 @@ void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint
|
||||
con_handle = l2cap_event_incoming_connection_get_handle(packet);
|
||||
psm = l2cap_event_incoming_connection_get_psm(packet);
|
||||
local_cid = l2cap_event_incoming_connection_get_local_cid(packet);
|
||||
remote_cid = l2cap_event_incoming_connection_get_remote_cid(packet);
|
||||
printf("L2CAP_EVENT_INCOMING_CONNECTION %s, handle 0x%02x, psm 0x%02x, local cid 0x%02x, remote cid 0x%02x\n",
|
||||
bd_addr_to_str(event_addr), con_handle, psm, local_cid, remote_cid);
|
||||
bd_addr_to_str(event_addr), con_handle, psm, local_cid, l2cap_event_incoming_connection_get_remote_cid(packet));
|
||||
|
||||
// accept
|
||||
bt_send_cmd(&l2cap_accept_connection_cmd, local_cid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user