diff --git a/src/platforms/common/cdcacm.h b/src/platforms/common/cdcacm.h index e2e6bd1..37df0b9 100644 --- a/src/platforms/common/cdcacm.h +++ b/src/platforms/common/cdcacm.h @@ -30,7 +30,6 @@ #include "usb.h" -void blackmagic_usb_init(void); void cdcacm_set_config(usbd_device *dev, uint16_t wValue); /* Returns current usb configuration, or 0 if not configured. */ int cdcacm_get_config(void); diff --git a/src/platforms/common/usb.h b/src/platforms/common/usb.h index f706b00..656f4f2 100644 --- a/src/platforms/common/usb.h +++ b/src/platforms/common/usb.h @@ -41,4 +41,6 @@ extern usbd_device *usbdev; #define TOTAL_INTERFACES 5 #endif +void blackmagic_usb_init(void); + #endif /*USB_H*/