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

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

Remove useless BTA features definition

BTA_EXT_FEATURES_PAGE_MAX => BTM_EXT_FEATURES_PAGE_MAX
BTA_FEATURE_BYTES_PER_PAGE => BTM_FEATURE_BYTES_PER_PAGE

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I54f8bf15cbffe7728d22403acd218964a547f42f
parent 80958822
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ typedef struct {
  bool dc_known;
  BD_NAME bd_name;
  uint8_t
      features[BTA_FEATURE_BYTES_PER_PAGE * (BTA_EXT_FEATURES_PAGE_MAX + 1)];
      features[BTM_FEATURE_BYTES_PER_PAGE * (BTM_EXT_FEATURES_PAGE_MAX + 1)];
  uint8_t pin_length;
} tBTA_DM_API_ADD_DEVICE;

+0 −3
Original line number Diff line number Diff line
@@ -1006,9 +1006,6 @@ typedef tSDP_DISCOVERY_DB tBTA_DISCOVERY_DB;
#define BTA_DI_NUM_MAX 3
#endif

/* Device features mask definitions */
#define BTA_FEATURE_BYTES_PER_PAGE BTM_FEATURE_BYTES_PER_PAGE
#define BTA_EXT_FEATURES_PAGE_MAX BTM_EXT_FEATURES_PAGE_MAX
/* ACL type
*/
#define BTA_DM_LINK_TYPE_BR_EDR 0x01