blob: 9b2dd60662c826b1da6317061ac495dc616162c7 [file] [log] [blame]
/* util.h - Common helpers for Bluetooth drivers */
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
static inline void bt_uart_drain(const struct device *dev)
{
uint8_t c;
while (uart_fifo_read(dev, &c, 1)) {
continue;
}
}