aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c')
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c b/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c
index 23d5559..d8c5bbe 100644
--- a/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c
+++ b/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c
@@ -16,6 +16,8 @@
*/
#include "hal.h"
+
+#if HAL_USBH_USE_ADDITIONAL_CLASS_DRIVERS
#include "usbh/internal.h"
#include "usbh_custom_class_example.h"
#include <string.h>
@@ -138,3 +140,4 @@ static void _init(void) {
}
}
+#endif