test/avdtp_util: fix build

This commit is contained in:
Matthias Ringwald 2020-07-25 18:04:23 +02:00
parent 852d5f72ca
commit 12f3b2bdfb
2 changed files with 3 additions and 1 deletions

View File

@ -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){

View File

@ -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;