From 6b7161b90a3572bbb7717d0317306741043528e5 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Sun, 9 Jul 2017 19:42:36 -0300 Subject: USBH: moved usbh/desciter.h and usbh/debug.h to usbh/internal.h --- testhal/STM32/STM32F4xx/USB_HOST/main.c | 2 ++ testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F4xx/USB_HOST') diff --git a/testhal/STM32/STM32F4xx/USB_HOST/main.c b/testhal/STM32/STM32F4xx/USB_HOST/main.c index 7cf14e1..a450019 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/main.c +++ b/testhal/STM32/STM32F4xx/USB_HOST/main.c @@ -18,6 +18,8 @@ #include "hal.h" #include "ff.h" #include +#include "usbh/debug.h" /* for usbDbgPuts/usbDbgPrintf */ + #define UVC_TO_MSD_PHOTOS_CAPTURE FALSE 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 d8c5bbe..9c56866 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c +++ b/testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c @@ -18,9 +18,10 @@ #include "hal.h" #if HAL_USBH_USE_ADDITIONAL_CLASS_DRIVERS -#include "usbh/internal.h" -#include "usbh_custom_class_example.h" + #include +#include "usbh_custom_class_example.h" +#include "usbh/internal.h" #if USBH_DEBUG_ENABLE_TRACE #define udbgf(f, ...) usbDbgPrintf(f, ##__VA_ARGS__) -- cgit v1.2.3