From b4d54d2aa6339cb90889e6711cfd98a3ab0b1b69 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sun, 16 Jun 2024 18:10:56 +0800 Subject: [PATCH] fix(core/usbh_core): fix get mult --- core/usbh_core.h | 4 ++-- 1 file 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 {