Subtract one from USB_EP_SIZE in USB_SendSpace
This avoids dealing with ZLP’s in USB_Send, because the max packet size will be EP size - 1.
Showing
Please register or sign in to comment
This avoids dealing with ZLP’s in USB_Send, because the max packet size will be EP size - 1.