aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorAxoloti <johannes@axoloti.com>2017-09-12 11:41:38 +0200
committerGitHub <noreply@github.com>2017-09-12 11:41:38 +0200
commit354313f408db8f979cd729a19e80ede3a1c83283 (patch)
treedaf853cc402c7cdce849d68df213bd97dd7ce61d /os/hal
parentc0205baf7d49b76e512dbae2537c062ac8efefc1 (diff)
downloadChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.tar.gz
ChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.tar.bz2
ChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.zip
allow enabling IAD without UVC
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/include/hal_usbh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h
index 1ed6416..7ff8de0 100644
--- a/os/hal/include/hal_usbh.h
+++ b/os/hal/include/hal_usbh.h
@@ -52,7 +52,9 @@
#define HAL_USBH_USE_ADDITIONAL_CLASS_DRIVERS FALSE
#endif
+#ifndef HAL_USBH_USE_IAD
#define HAL_USBH_USE_IAD HAL_USBH_USE_UVC
+#endif
#if (HAL_USE_USBH == TRUE) || defined(__DOXYGEN__)