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

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

Straighten out tBTM_BOND_TYPE

Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I7e230c8c5a621d54c10cb80b92193a941f731a1a
parent 974aa058
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -202,8 +202,11 @@ typedef struct {
} tBTM_SEC_BLE;

/* Peering bond type */
enum { BOND_TYPE_UNKNOWN, BOND_TYPE_PERSISTENT, BOND_TYPE_TEMPORARY };
typedef uint8_t tBTM_BOND_TYPE;
typedef enum : uint8_t {
  BOND_TYPE_UNKNOWN = 0,
  BOND_TYPE_PERSISTENT = 1,
  BOND_TYPE_TEMPORARY = 2
} tBTM_BOND_TYPE;

/*
 * Define structure for Security Device Record.