add CONFIG_USBDEV_ADVANCE_DESC macro
This commit is contained in:
@@ -75,7 +75,7 @@ struct usb_descriptor {
|
||||
struct usb_bos_descriptor *bos_descriptor;
|
||||
};
|
||||
|
||||
#if defined(CHERRYUSB_VERSION) && (CHERRYUSB_VERSION > 0x000700)
|
||||
#ifdef CONFIG_USBDEV_ADVANCE_DESC
|
||||
void usbd_desc_register(struct usb_descriptor *desc);
|
||||
#else
|
||||
void usbd_desc_register(const uint8_t *desc);
|
||||
|
||||
Reference in New Issue
Block a user