diff options
author | Axoloti <johannes@axoloti.com> | 2017-09-12 11:41:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 11:41:38 +0200 |
commit | 354313f408db8f979cd729a19e80ede3a1c83283 (patch) | |
tree | daf853cc402c7cdce849d68df213bd97dd7ce61d | |
parent | c0205baf7d49b76e512dbae2537c062ac8efefc1 (diff) | |
download | ChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.tar.gz ChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.tar.bz2 ChibiOS-Contrib-354313f408db8f979cd729a19e80ede3a1c83283.zip |
allow enabling IAD without UVC
-rw-r--r-- | os/hal/include/hal_usbh.h | 2 |
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__) |