bluetooth: Don't call BT_LE162HOST in bt_buf_get_le16
since BT_GETUINT16 alredy convert the value to the little endian Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
b06067aa23
commit
d75895586a
@ -639,7 +639,7 @@ uint16_t bt_buf_get_le16(FAR struct bt_buf_s * buf)
|
||||
value = BT_GETUINT16((FAR uint8_t *)buf->data);
|
||||
bt_buf_consume(buf, sizeof(value));
|
||||
|
||||
return BT_LE162HOST(value);
|
||||
return value;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user