diff --git a/flight/PiOS/STM32F4xx/Libraries/STM32_USB_OTG_Driver/src/usb_bsp_template.c b/flight/PiOS/STM32F4xx/Libraries/STM32_USB_OTG_Driver/src/usb_bsp_template.c index c3f515bcd..ebd89b909 100644 --- a/flight/PiOS/STM32F4xx/Libraries/STM32_USB_OTG_Driver/src/usb_bsp_template.c +++ b/flight/PiOS/STM32F4xx/Libraries/STM32_USB_OTG_Driver/src/usb_bsp_template.c @@ -85,7 +85,7 @@ * @retval None */ -void USB_OTG_BSP_Init(void) +void USB_OTG_BSP_Init(USB_OTG_CORE_HANDLE *pdev) { } @@ -95,7 +95,7 @@ void USB_OTG_BSP_Init(void) * @param None * @retval None */ -void USB_OTG_BSP_EnableInterrupt(void) +void USB_OTG_BSP_EnableInterrupt(USB_OTG_CORE_HANDLE *pdev) { } @@ -108,7 +108,7 @@ void USB_OTG_BSP_EnableInterrupt(void) * @retval None */ -void USB_OTG_BSP_DriveVBUS(uint32_t speed, uint8_t state) +void USB_OTG_BSP_DriveVBUS(USB_OTG_CORE_HANDLE *pdev, uint8_t state) { } @@ -120,7 +120,7 @@ void USB_OTG_BSP_DriveVBUS(uint32_t speed, uint8_t state) * @retval None */ -void USB_OTG_BSP_ConfigVBUS(uint32_t speed) +void USB_OTG_BSP_ConfigVBUS(USB_OTG_CORE_HANDLE *pdev) { }