From c2a0c1507b0db15a06773e321bd5c782bac54d39 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 30 May 2021 23:44:29 +0700 Subject: [PATCH] add more comment --- src/portable/raspberrypi/rp2040/rp2040_usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.c b/src/portable/raspberrypi/rp2040/rp2040_usb.c index 7718293e..a0263612 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 {