From 1fa89d17547cc6a28991d559d69fead33eacd151 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Tue, 31 May 2016 12:53:23 +0900 Subject: Change USB API a bit --- example-cdc/usb-cdc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example-cdc') diff --git a/example-cdc/usb-cdc.c b/example-cdc/usb-cdc.c index 073dae8..b132d8d 100644 --- a/example-cdc/usb-cdc.c +++ b/example-cdc/usb-cdc.c @@ -516,12 +516,11 @@ tty_echo_char (struct tty *t, int c) void -usb_cb_tx_done (uint8_t ep_num, uint32_t len, int success) +usb_cb_tx_done (uint8_t ep_num, uint32_t len) { struct tty *t = tty_get (-1, ep_num); (void)len; - (void)success; /* Always, successful. */ if (ep_num == ENDP1) { -- cgit v1.2.3