USBH: moved declaration of driver to LLD
This commit is contained in:
parent
4483baab02
commit
d2c155b4cf
|
@ -269,14 +269,6 @@ struct USBHDriver {
|
|||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#if STM32_USBH_USE_OTG1
|
||||
extern USBHDriver USBHD1;
|
||||
#endif
|
||||
|
||||
#if STM32_USBH_USE_OTG2
|
||||
extern USBHDriver USBHD2;
|
||||
#endif
|
||||
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Main driver API. */
|
||||
|
|
|
@ -149,6 +149,15 @@ uint8_t usbh_lld_roothub_get_statuschange_bitmap(USBHDriver *usbh);
|
|||
#define USBH_LLD_DECLARE_STRUCT_MEMBER(member) member __attribute__((aligned(4)))
|
||||
#endif
|
||||
|
||||
|
||||
#if STM32_USBH_USE_OTG1
|
||||
extern USBHDriver USBHD1;
|
||||
#endif
|
||||
|
||||
#if STM32_USBH_USE_OTG2
|
||||
extern USBHDriver USBHD2;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* HAL_USBH_LLD_H */
|
||||
|
|
Loading…
Reference in New Issue