mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
test/avdtp_util: fix build
This commit is contained in:
parent
852d5f72ca
commit
12f3b2bdfb
@ -952,7 +952,6 @@ void avdtp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet
|
||||
break;
|
||||
|
||||
case L2CAP_EVENT_CHANNEL_OPENED:
|
||||
btstack_assert(context != NULL);
|
||||
|
||||
psm = l2cap_event_channel_opened_get_psm(packet);
|
||||
if (psm != BLUETOOTH_PSM_AVDTP){
|
||||
|
@ -60,9 +60,12 @@
|
||||
extern "C" uint16_t l2cap_get_remote_mtu_for_local_cid(uint16_t local_cid){
|
||||
return 1024;
|
||||
}
|
||||
extern "C" void avdtp_emit_sink_and_source(uint8_t * packet, uint16_t size){}
|
||||
extern "C" void l2cap_request_can_send_now_event(uint16_t local_cid){}
|
||||
// mock end
|
||||
|
||||
|
||||
|
||||
static avdtp_connection_t connection;
|
||||
static avdtp_capabilities_t caps;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user