Bluetooth: GATT: Reorder bt_gatt_ccc_cfg to eliminate padding
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
cf1f3c26a5
commit
dd542e14f6
1 changed files with 2 additions and 2 deletions
|
@ -487,12 +487,12 @@ ssize_t bt_gatt_attr_read_chrc(struct bt_conn *conn,
|
||||||
|
|
||||||
/** @brief GATT CCC configuration entry. */
|
/** @brief GATT CCC configuration entry. */
|
||||||
struct bt_gatt_ccc_cfg {
|
struct bt_gatt_ccc_cfg {
|
||||||
|
/** Config valid flag. */
|
||||||
|
u8_t valid;
|
||||||
/** Config peer address. */
|
/** Config peer address. */
|
||||||
bt_addr_le_t peer;
|
bt_addr_le_t peer;
|
||||||
/** Config peer value. */
|
/** Config peer value. */
|
||||||
u16_t value;
|
u16_t value;
|
||||||
/** Config valid flag. */
|
|
||||||
u8_t valid;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Internal representation of CCC value */
|
/* Internal representation of CCC value */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue