Browse Source

update(core/usbd_core): increase intf array from 8 to 16

sakumisu 1 năm trước cách đây
mục cha
commit
69fe1598ed
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/usbd_core.c

+ 1 - 1
core/usbd_core.c

@@ -57,7 +57,7 @@ USB_NOCACHE_RAM_SECTION struct usbd_core_priv {
 #ifdef CONFIG_USBDEV_TEST_MODE
 #ifdef CONFIG_USBDEV_TEST_MODE
     bool test_req;
     bool test_req;
 #endif
 #endif
-    struct usbd_interface *intf[8];
+    struct usbd_interface *intf[16];
     uint8_t intf_offset;
     uint8_t intf_offset;
 
 
     struct usbd_tx_rx_msg tx_msg[CONFIG_USBDEV_EP_NUM];
     struct usbd_tx_rx_msg tx_msg[CONFIG_USBDEV_EP_NUM];