update readme
This commit is contained in:
@@ -88,7 +88,7 @@ CherryUSB Host Stack has the following functions:
|
||||
- Support Communication Device Class (CDC)
|
||||
- Support Human Interface Device (HID)
|
||||
- Support Mass Storage Class (MSC)
|
||||
- Support USB VIDEO CLASS (UVC1.0, only supports ehci)
|
||||
- Support USB VIDEO CLASS
|
||||
- Support Remote NDIS (RNDIS)
|
||||
- Support Vendor class
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ CherryUSB Host 协议栈当前实现以下功能:
|
||||
- 支持 Communication Device Class (CDC)
|
||||
- 支持 Human Interface Device (HID)
|
||||
- 支持 Mass Storage Class (MSC)
|
||||
- 支持 USB VIDEO CLASS (UVC1.0, only supports ehci)
|
||||
- 支持 USB VIDEO CLASS
|
||||
- 支持 Remote NDIS (RNDIS)
|
||||
- 支持 Vendor 类 class
|
||||
|
||||
|
||||
@@ -409,7 +409,7 @@ static void dwc2_bulk_intr_pipe_init(struct dwc2_pipe *chan, uint8_t *buffer, ui
|
||||
|
||||
static void dwc2_iso_pipe_init(struct dwc2_pipe *chan, struct usbh_iso_frame_packet *iso_packet)
|
||||
{
|
||||
chan->num_packets = dwc2_calculate_packet_num(512, chan->ep_addr, chan->ep_mps, &chan->xferlen);
|
||||
chan->num_packets = dwc2_calculate_packet_num(iso_packet->transfer_buffer_length, chan->ep_addr, chan->ep_mps, &chan->xferlen);
|
||||
dwc2_pipe_transfer(chan->chidx, chan->ep_addr, (uint32_t *)iso_packet->transfer_buffer, chan->xferlen, chan->num_packets, HC_PID_DATA0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user