Closed alexrayne closed 7 years ago
URB with zero-len without USBD_FLAG_SHORT_PACKET now ommited.
this behaviour is conflicts with intention of manual short packets handling - for such case URB goes without USBD_FLAG_SHORT_PACKET, and zero-length MUST be achievable
calc_pktcnt() is already doing that.
calc_pktcnt()
No, there is not.
https://github.com/alexrayne/unicore-mx.kuldeep/blob/484b6463287be9a5635cac5021a45bcffb8c7618/lib/usbd/backend/usbd_dwc_otg.c#L524 https://github.com/alexrayne/unicore-mx.kuldeep/blob/484b6463287be9a5635cac5021a45bcffb8c7618/lib/usbd/backend/usbd_dwc_otg.c#L422
Ок
URB with zero-len without USBD_FLAG_SHORT_PACKET now ommited.
this behaviour is conflicts with intention of manual short packets handling - for such case URB goes without USBD_FLAG_SHORT_PACKET, and zero-length MUST be achievable