zephyr/drivers/bluetooth/util.h
Kumar Gala d0eb235510 Bluetooth: convert to using newly introduced integer sized types
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99
integer types.

Jira: ZEP-2051

Change-Id: I8f57a17f78e674aca5400f005db8975c9f9e150e
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-20 13:25:23 -05:00

17 lines
263 B
C

/* util.h - Common helpers for Bluetooth drivers */
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
static inline void bt_uart_drain(struct device *dev)
{
u8_t c;
while (uart_fifo_read(dev, &c, 1)) {
continue;
}
}