usb/bos: Fixed how the BOS registration function is provided so it works with C++ code
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
2fca2a11e9
commit
130ea30f52
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user