mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 05:52:47 +00:00
ZLP flag should only be set if less data is sent than requested by host and the length is a multiple of wMaxPacketSize. Current implementation does not check it correctly. For some platforms like nRF52, this patch will not be enough to fix the problem. The driver must be informed about the transfer type before sending the last packet, without changing the API, it is not possible. Signed-off-by: Johann Fischer <j.fischer@phytec.de> |
||
---|---|---|
.. | ||
class | ||
bos.c | ||
CMakeLists.txt | ||
Kconfig | ||
os_desc.c | ||
os_desc.h | ||
usb_descriptor.c | ||
usb_descriptor.h | ||
usb_device.c |