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

Commit 9ad1c80f authored by Chris Manton's avatar Chris Manton
Browse files

Move def BLE_ADDR_TYPE_ID_BIT closer to relatives

Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ib4f9f1a670b9a029f54eebc97035a33d79539bee
parent 8b8d2754
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -86,9 +86,6 @@ typedef uint8_t tBTM_BLE_SEC_REQ_ACT;
#define BTM_BLE_IS_INQ_ACTIVE(x) ((x)&BTM_BLE_INQUIRY_MASK)
#define BTM_BLE_IS_OBS_ACTIVE(x) ((x)&BTM_LE_OBSERVE_ACTIVE)

/* BLE ADDR type ID bit */
#define BLE_ADDR_TYPE_ID_BIT 0x02

#define BTM_VSC_CHIP_CAPABILITY_L_VERSION 55
#define BTM_VSC_CHIP_CAPABILITY_M_VERSION 95

+3 −0
Original line number Diff line number Diff line
@@ -754,6 +754,9 @@ typedef struct {
#define BLE_ADDR_ANONYMOUS 0xFF
typedef uint8_t tBLE_ADDR_TYPE;

/* BLE ADDR type ID bit */
#define BLE_ADDR_TYPE_ID_BIT 0x02

#ifdef __cplusplus
struct tBLE_BD_ADDR {
  tBLE_ADDR_TYPE type;