aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-09 19:42:36 -0300
committerDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-09 19:42:36 -0300
commit6b7161b90a3572bbb7717d0317306741043528e5 (patch)
tree934fd84bd72b0d5140208d14392e79294c713b1b /testhal
parent665643c9e47709e6915b22398571be978b59a891 (diff)
downloadChibiOS-Contrib-6b7161b90a3572bbb7717d0317306741043528e5.tar.gz
ChibiOS-Contrib-6b7161b90a3572bbb7717d0317306741043528e5.tar.bz2
ChibiOS-Contrib-6b7161b90a3572bbb7717d0317306741043528e5.zip
USBH: moved usbh/desciter.h and usbh/debug.h to usbh/internal.h
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/main.c2
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/usbh_custom_class_example.c5
2 files changed, 5 insertions, 2 deletions
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 <string.h>
+#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 <string.h>
+#include "usbh_custom_class_example.h"
+#include "usbh/internal.h"
#if USBH_DEBUG_ENABLE_TRACE
#define udbgf(f, ...) usbDbgPrintf(f, ##__VA_ARGS__)