diff options
| author | hathach <[email protected]> | 2021-05-30 23:44:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-30 23:44:29 +0700 |
| commit | c2a0c1507b0db15a06773e321bd5c782bac54d39 (patch) | |
| tree | 4e398eaeb1eea9db4980dcf1b5c55aa3390575c5 /src | |
| parent | 54c915057484d4d63d0697114f156aef2837b728 (diff) | |
add more comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/rp2040_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.c b/src/portable/raspberrypi/rp2040/rp2040_usb.c index 7718293e5..a0263612f 100644 --- a/src/portable/raspberrypi/rp2040/rp2040_usb.c +++ b/src/portable/raspberrypi/rp2040/rp2040_usb.c @@ -136,6 +136,7 @@ void _hw_endpoint_start_next_buffer(struct hw_endpoint *ep) // Special case with control status stage where PID is always DATA1 if ( ep->transfer_size == 0 ) { + // ZLP also toggle data ep->next_pid ^= 1u; }else { |
