usb/bos: Fixed how the BOS registration function is provided so it works with C++ code

This commit is contained in:
dragonmux
2024-04-11 05:50:08 +01:00
committed by Piotr Esden-Tempski
parent 2fca2a11e9
commit 130ea30f52

View File

@@ -133,7 +133,11 @@ typedef struct __attribute__((packed)) usb_platform_device_capability_descriptor
#define USB_DCT_PLATFORM_SIZE 20U
extern void usbd_register_bos_descriptor(usbd_device *usbd_dev, const usb_bos_descriptor *bos);
BEGIN_DECLS
void usbd_register_bos_descriptor(usbd_device *usbd_dev, const usb_bos_descriptor *bos);
END_DECLS
#endif