diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-09 23:22:13 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-14 15:16:54 +0100 |
commit | ebf16b4ddf0dcbadf96aebdec3304f703917fdc7 (patch) | |
tree | e4603d7bee0cd7062b4cb501e6f1ab0cc5148cf3 /openpicc/dfu/usb_strings_dfu.h | |
parent | ebc2088382df3148a3b61f7108aa6ffccd7396be (diff) |
usb: Do not send ZLP when we have filled the windowv0.4
Only send the ZLP if we send less data than was required/asked for
by the host and it is a multiple of the bMaxPacketSize0 (which is
hardcoded to 8 right now).
This is completing the change done in fe88b83e80df8be0351ff38ee6 to
fix SIMtrace attached to OSX and not regress on windows.
Introduce another parameter to udp_ep0_send_data to specify the window
size (wLength) or if not available the default from USB 2.0 specification.
Diffstat (limited to 'openpicc/dfu/usb_strings_dfu.h')
0 files changed, 0 insertions, 0 deletions