diff options
| author | sakumisu <[email protected]> | 2024-06-16 18:10:56 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-06-16 18:11:04 +0800 |
| commit | b4d54d2aa6339cb90889e6711cfd98a3ab0b1b69 (patch) | |
| tree | ea697208cd60b83311d3542c59823b49d4b00721 | |
| parent | 96db9b96da50a08b1a53fd35e91fe68721bfab5b (diff) | |
fix(core/usbh_core): fix get mult
| -rw-r--r-- | core/usbh_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/usbh_core.h b/core/usbh_core.h index baf6df9a..cad9a94c 100644 --- a/core/usbh_core.h +++ b/core/usbh_core.h @@ -52,10 +52,10 @@ extern "C" { ep = ep_desc; \ USB_LOG_INFO("Ep=%02x Attr=%02u Mps=%d Interval=%02u Mult=%02u\r\n", \ ep_desc->bEndpointAddress, \ - USB_GET_ENDPOINT_TYPE(ep_desc->bmAttributes), \ + ep_desc->bmAttributes, \ USB_GET_MAXPACKETSIZE(ep_desc->wMaxPacketSize), \ ep_desc->bInterval, \ - USB_GET_MULT(ep_desc->bmAttributes)); \ + USB_GET_MULT(ep_desc->wMaxPacketSize)); \ } while (0) struct usbh_class_info { |
