common: Moved blackmagic_usb_init() into the main USB header

This commit is contained in:
dragonmux 2022-08-10 08:50:53 +01:00 committed by Piotr Esden-Tempski
parent da320a42f3
commit 2e5143bb5f
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,6 @@
#include "usb.h" #include "usb.h"
void blackmagic_usb_init(void);
void cdcacm_set_config(usbd_device *dev, uint16_t wValue); void cdcacm_set_config(usbd_device *dev, uint16_t wValue);
/* Returns current usb configuration, or 0 if not configured. */ /* Returns current usb configuration, or 0 if not configured. */
int cdcacm_get_config(void); int cdcacm_get_config(void);

View File

@ -41,4 +41,6 @@ extern usbd_device *usbdev;
#define TOTAL_INTERFACES 5 #define TOTAL_INTERFACES 5
#endif #endif
void blackmagic_usb_init(void);
#endif /*USB_H*/ #endif /*USB_H*/