drivers/nble: Style fixes
Fixes some styles and removes p_buf from debug log. Change-Id: I861c2c250d8478353f8272e9c59c06f9fc211036 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
3dec8b60a2
commit
d4bb288f7b
2 changed files with 5 additions and 5 deletions
|
@ -93,12 +93,12 @@ static void poll_out(const void *buf, size_t length)
|
|||
}
|
||||
}
|
||||
|
||||
void rpc_transmit_cb(uint8_t *p_buf, uint16_t length)
|
||||
void rpc_transmit_cb(uint8_t *data, uint16_t length)
|
||||
{
|
||||
struct net_buf *buf = CONTAINER_OF(p_buf, struct net_buf, __buf);
|
||||
struct net_buf *buf = CONTAINER_OF(data, struct net_buf, __buf);
|
||||
struct ipc_uart_header hdr;
|
||||
|
||||
BT_DBG("p_buf %p length %u", p_buf, length);
|
||||
BT_DBG("buf %p length %u", data, length);
|
||||
|
||||
hdr.len = length;
|
||||
hdr.channel = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue