8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5943451 commit 4e4f213Copy full SHA for 4e4f213
cores/arduino/stm32/usb_host/usbh_conf.c
@@ -17,13 +17,16 @@
17
*
18
******************************************************************************
19
*/
20
+#ifdef USBHOST
21
/* USER CODE END Header */
22
23
/* Includes ------------------------------------------------------------------*/
24
#include "usbh_core.h"
25
#include "Arduino.h"
26
-#include "stm32f4xx_hal_hcd.h"
27
+#ifndef HAL_HCD_MODULE_ENABLED
28
+ #error "HAL_HCD_MODULE_ENABLED is required"
29
+#endif
30
31
/* USER CODE BEGIN Includes */
32
@@ -569,3 +572,5 @@ USBH_StatusTypeDef USBH_Get_USB_Status(HAL_StatusTypeDef hal_status)
569
572
}
570
573
571
574
#endif // !defined(USBCON)
575
+
576
+#endif /* USBHOST */
0 commit comments