Quellcode durchsuchen

add more comment

hathach vor 5 Jahren
Ursprung
Commit
c2a0c1507b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/portable/raspberrypi/rp2040/rp2040_usb.c

+ 1 - 0
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
     {