common/usb_console_stream.c: Format with clang-format
BRANCH=none
TEST=none
static void usb_console_wr(struct queue_policy const *policy, size_t count);
static void uart_console_rd(struct queue_policy const *policy, size_t count);
-
static int last_tx_ok = 1;
/*
@@ -57,19 +56,14 @@ static struct queue_policy const usb_console_policy = {
};
static struct queue const tx_q = QUEUE_NULL(QUEUE_SIZE_USB_TX, uint8_t);
-static struct queue const rx_q = QUEUE(QUEUE_SIZE_USB_RX, uint8_t,
- usb_console_policy);
+static struct queue const rx_q =
+ QUEUE(QUEUE_SIZE_USB_RX, uint8_t, usb_console_policy);
struct usb_stream_config const usb_console;
-USB_STREAM_CONFIG(usb_console,
- USB_IFACE_CONSOLE,
- USB_STR_CONSOLE_NAME,
- USB_EP_CONSOLE,
- USB_MAX_PACKET_SIZE,
- USB_MAX_PACKET_SIZE,
- rx_q,
- tx_q)
+USB_STREAM_CONFIG(usb_console, USB_IFACE_CONSOLE, USB_STR_CONSOLE_NAME,
+ USB_EP_CONSOLE, USB_MAX_PACKET_SIZE, USB_MAX_PACKET_SIZE,
+ rx_q, tx_q)
static void usb_console_wr(struct queue_policy const *policy, size_t count)
{
