add more comment
This commit is contained in:
parent
54c9150574
commit
c2a0c1507b
|
@ -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
|
// Special case with control status stage where PID is always DATA1
|
||||||
if ( ep->transfer_size == 0 )
|
if ( ep->transfer_size == 0 )
|
||||||
{
|
{
|
||||||
|
// ZLP also toggle data
|
||||||
ep->next_pid ^= 1u;
|
ep->next_pid ^= 1u;
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue