Bluetooth: Audio: Fix typo
Fix typo for CONFIG_BT_PAC_SRC_LOC_WRITEABLE Signed-off-by: Hang Fan <fanhang@xiaomi.com>
This commit is contained in:
parent
44fb3febe6
commit
8d06fd8d15
1 changed files with 2 additions and 2 deletions
|
@ -389,7 +389,7 @@ static ssize_t src_loc_read(struct bt_conn *conn,
|
||||||
&location_32_le, sizeof(location_32_le));
|
&location_32_le, sizeof(location_32_le));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(BT_PAC_SRC_LOC_WRITEABLE)
|
#if defined(CONFIG_BT_PAC_SRC_LOC_WRITEABLE)
|
||||||
static ssize_t src_loc_write(struct bt_conn *conn,
|
static ssize_t src_loc_write(struct bt_conn *conn,
|
||||||
const struct bt_gatt_attr *attr, const void *data,
|
const struct bt_gatt_attr *attr, const void *data,
|
||||||
uint16_t len, uint16_t offset, uint8_t flags)
|
uint16_t len, uint16_t offset, uint8_t flags)
|
||||||
|
@ -425,7 +425,7 @@ static ssize_t src_loc_write(struct bt_conn *conn,
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
#endif /* BT_PAC_SRC_LOC_WRITEABLE */
|
#endif /* CONFIG_BT_PAC_SRC_LOC_WRITEABLE */
|
||||||
|
|
||||||
static void src_loc_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value)
|
static void src_loc_cfg_changed(const struct bt_gatt_attr *attr, uint16_t value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue