commit | 30fc560017c3f557effc7f0a31e61d91cd2e695b | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Mon Dec 14 15:56:28 2020 +0100 |
committer | laforge <laforge@osmocom.org> | Sun Dec 20 23:20:21 2020 +0000 |
tree | 750f6738221d88f277016a67d4dfe529466f4af4 | |
parent | 6360c07d911307fb73be5ff2a96ca3dbb2fcd0c5 [diff] [blame] |
icE1usb fw: cosmetic: more comments in the code Change-Id: I445bb2f92b6dcfe29ac20109ea2e63efb31051a1
diff --git a/firmware/ice40-riscv/icE1usb/usb_desc_app.c b/firmware/ice40-riscv/icE1usb/usb_desc_app.c index d6c274a..9fe3968 100644 --- a/firmware/ice40-riscv/icE1usb/usb_desc_app.c +++ b/firmware/ice40-riscv/icE1usb/usb_desc_app.c
@@ -19,6 +19,10 @@ /* E1 */ struct { + /* Two altsettings are required, as isochronous + * interfaces must have a setting where they don't + * transceive any data. wMaxPacketSize is 0 for + * all endpoints in the 'off' altsetting */ struct { struct usb_intf_desc intf; struct usb_ep_desc ep_data_in;