diff options
author | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-07-09 18:36:07 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-07-09 18:36:07 -0300 |
commit | 89ecbb7daa7132d8815e7b3507a011348ccd0518 (patch) | |
tree | 3beab017f3b2e72659175ab2cdd80378ca1fdcff /testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c | |
parent | 025ca5345a8ffbb7de3b1c64fb0a5ddbbdacd3b0 (diff) | |
download | ChibiOS-Contrib-89ecbb7daa7132d8815e7b3507a011348ccd0518.tar.gz ChibiOS-Contrib-89ecbb7daa7132d8815e7b3507a011348ccd0518.tar.bz2 ChibiOS-Contrib-89ecbb7daa7132d8815e7b3507a011348ccd0518.zip |
USBH: Cleanup example for out-of-tree driver
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.c | 3 |
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 |