Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbd4e574 authored by Chris Manton's avatar Chris Manton
Browse files

Properly include bta when BTA_PAN_INCLUDED != TRUE

Bug: 181201483
Test: sc-tv-dev:: lunch inuvik && make libbluetooth
Tag: #refactor

Change-Id: Ic07bf040122696dc65748185dbf8cc6caa651e12
parent 7e50976b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -164,6 +164,8 @@ void BTA_PanClose(uint16_t handle) {
  bta_sys_sendmsg(p_buf);
}
#else
#include "bta/pan/bta_pan_int.h"
#include "osi/include/osi.h"  // UNUSED_ATTR

void BTA_PanEnable(UNUSED_ATTR tBTA_PAN_CBACK p_cback) {}

+1 −0
Original line number Diff line number Diff line
@@ -224,6 +224,7 @@ void bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters,
  PAN_SetProtocolFilters(handle, num_filters, p_start_array, p_end_array);
}
#else
#include "osi/include/osi.h"  // UNUSED_ATTR

void bta_pan_ci_tx_ready(UNUSED_ATTR uint16_t handle) {}