Skip to content

Commit

Permalink
fix include
Browse files Browse the repository at this point in the history
  • Loading branch information
rhapsodyv committed Oct 4, 2020
1 parent 5943451 commit 4e4f213
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cores/arduino/stm32/usb_host/usbh_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@
*
******************************************************************************
*/
#ifdef USBHOST
/* USER CODE END Header */

/* Includes ------------------------------------------------------------------*/
#include "usbh_core.h"
#include "Arduino.h"

#include "stm32f4xx_hal_hcd.h"
#ifndef HAL_HCD_MODULE_ENABLED
#error "HAL_HCD_MODULE_ENABLED is required"
#endif

/* USER CODE BEGIN Includes */

Expand Down Expand Up @@ -569,3 +572,5 @@ USBH_StatusTypeDef USBH_Get_USB_Status(HAL_StatusTypeDef hal_status)
}

#endif // !defined(USBCON)

#endif /* USBHOST */

0 comments on commit 4e4f213

Please sign in to comment.