Commit 5dc16e7
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 1f102c5 commit 5dc16e7
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
296 | 303 | | |
297 | 304 | | |
298 | 305 | | |
| |||
772 | 779 | | |
773 | 780 | | |
774 | 781 | | |
775 | | - | |
776 | | - | |
| 782 | + | |
777 | 783 | | |
778 | 784 | | |
779 | 785 | | |
| |||
0 commit comments