d0eb235510
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>
17 lines
263 B
C
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;
|
|
}
|
|
}
|