Bluetooth: Fix Wrong format when debug
Fix wformat build warning Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
parent
7423f5f897
commit
cce921dad5
3 changed files with 7 additions and 7 deletions
|
@ -85,7 +85,7 @@ static ssize_t read_location(struct bt_conn *conn, const struct bt_gatt_attr *at
|
|||
{
|
||||
struct bt_vocs *inst = attr->user_data;
|
||||
|
||||
BT_DBG("0x%02x", inst->srv.location);
|
||||
BT_DBG("0x%08x", inst->srv.location);
|
||||
return bt_gatt_attr_read(conn, attr, buf, len, offset, &inst->srv.location,
|
||||
sizeof(inst->srv.location));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue