From 89ecbb7daa7132d8815e7b3507a011348ccd0518 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Sun, 9 Jul 2017 18:36:07 -0300 Subject: USBH: Cleanup example for out-of-tree driver --- testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c') 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 @@ -138,3 +140,4 @@ static void _init(void) { } } +#endif -- cgit v1.2.3