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

Commit e452cd70 authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Fix compile error due to interop_feature_t not being public

Change-Id: I3c6d2d28d98098aea1854ebd2726fdaac9cc14e9
parent 52939256
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -51,7 +51,9 @@ bool interop_match(const interop_feature_t feature, const bt_bdaddr_t *addr);
// Add a dynamic interop database entry for a device matching the first |length| bytes
// of |addr|, implementing the workaround identified by |feature|. |addr| may not be
// null and |length| must be greater than 0 and less than sizeof(bt_bdaddr_t).
void interop_database_add(const interop_feature_t feature, const bt_bdaddr_t *addr, size_t length);
// As |interop_feature_t| is not exposed in the public API, feature must be a valid
// integer representing an optoin in the enum.
void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length);

// Clear the dynamic portion of the interoperability workaround database.
void interop_database_clear(void);
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ bool interop_match(const interop_feature_t feature, const bt_bdaddr_t *addr) {
  return false;
}

void interop_database_add(const interop_feature_t feature, const bt_bdaddr_t *addr, size_t length) {
void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length) {
  assert(addr);
  assert(length > 0);
  assert(length < sizeof(bt_bdaddr_t));