Commit d812e58
committed
pbio/drv/usb/usb_nxt.c: Fix ZLPs on the control pipe
This is needed to correctly indicate end of descriptor when the
descriptor size is an exact multiple of the endpoint packet size.1 parent b43d551 commit d812e58
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
295 | 302 | | |
296 | 303 | | |
297 | 304 | | |
| |||
771 | 778 | | |
772 | 779 | | |
773 | 780 | | |
774 | | - | |
775 | | - | |
| 781 | + | |
776 | 782 | | |
777 | 783 | | |
778 | 784 | | |
| |||
0 commit comments