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:
Andrei Emeltchenko 2016-02-04 16:43:16 +02:00 committed by Anas Nashif
commit d4bb288f7b
2 changed files with 5 additions and 5 deletions

View file

@ -34,8 +34,8 @@ static uint8_t svc_count;
/** /**
* Copy a UUID in a buffer using the smallest memory length * Copy a UUID in a buffer using the smallest memory length
* @param p_buf Pointer to the memory where the UUID shall be copied * @param buf Pointer to the memory where the UUID shall be copied
* @param p_uuid Pointer to the UUID to copy * @param uuid Pointer to the UUID to copy
* @return The length required to store the UUID in the memory * @return The length required to store the UUID in the memory
*/ */
static uint8_t bt_gatt_uuid_memcpy(uint8_t *buf, const struct bt_uuid *uuid) static uint8_t bt_gatt_uuid_memcpy(uint8_t *buf, const struct bt_uuid *uuid)

View file

@ -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; 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.len = length;
hdr.channel = 0; hdr.channel = 0;