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

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

Remove useless BTM features definition

BTM_EXT_FEATURES_PAGE_MAX => HCI_EXT_FEATURES_PAGE_MAX
BTM_FEATURE_BYTES_PER_PAGE => HCI_FEATURE_BYTES_PER_PAGE

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ib6683f2878a5c582977ff0b8bd03829a9564d7c0
parent da91f15b
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[BTM_FEATURE_BYTES_PER_PAGE * (BTM_EXT_FEATURES_PAGE_MAX + 1)];
      features[HCI_FEATURE_BYTES_PER_PAGE * (HCI_EXT_FEATURES_PAGE_MAX + 1)];
  uint8_t pin_length;
} tBTA_DM_API_ADD_DEVICE;

+0 −4
Original line number Diff line number Diff line
@@ -679,10 +679,6 @@ typedef uint16_t tBTM_BL_EVENT_MASK;
#define BTM_BL_UPDATE_MASK 0x0004
#define BTM_BL_ROLE_CHG_MASK 0x0008

/* Device features mask definitions */
#define BTM_FEATURE_BYTES_PER_PAGE HCI_FEATURE_BYTES_PER_PAGE
#define BTM_EXT_FEATURES_PAGE_MAX HCI_EXT_FEATURES_PAGE_MAX

/* the data type associated with BTM_BL_CONN_EVT */
typedef struct {
  tBTM_BL_EVENT event;     /* The event reported. */