diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-31 12:53:23 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-31 13:13:14 +0900 |
commit | 1fa89d17547cc6a28991d559d69fead33eacd151 (patch) | |
tree | 799376597bdd21c2182126879c5a03252031e0b9 /example-cdc | |
parent | 03a1d46c0873c0a545c81a9a3acc4d51f0f6d4d4 (diff) |
Change USB API a bit
Diffstat (limited to 'example-cdc')
-rw-r--r-- | example-cdc/usb-cdc.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |