add more comment

This commit is contained in:
hathach 2021-05-30 23:44:29 +07:00
parent 54c9150574
commit c2a0c1507b
1 changed files with 1 additions and 0 deletions

View File

@ -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
{ {