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

Commit 3e1f2d5e authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

enum-ify tBTM_BLE_CONN_ST am: 94219b83

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1415688

Change-Id: I1161d23e89254b72db822367ad1cb135e2a8ffc1
parents 71e72287 94219b83
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -167,10 +167,11 @@ constexpr uint8_t BTM_BLE_WL_INIT = 1;
typedef uint8_t tBTM_BLE_RL_STATE;
typedef uint8_t tBTM_BLE_RL_STATE;


/* BLE connection state */
/* BLE connection state */
#define BLE_CONN_IDLE 0
typedef enum : uint8_t {
#define BLE_CONNECTING 2
  BLE_CONN_IDLE = 0,
#define BLE_CONN_CANCEL 3
  BLE_CONNECTING = 2,
typedef uint8_t tBTM_BLE_CONN_ST;
  BLE_CONN_CANCEL = 3,
} tBTM_BLE_CONN_ST;


typedef struct { void* p_param; } tBTM_BLE_CONN_REQ;
typedef struct { void* p_param; } tBTM_BLE_CONN_REQ;