From 354313f408db8f979cd729a19e80ede3a1c83283 Mon Sep 17 00:00:00 2001 From: Axoloti Date: Tue, 12 Sep 2017 11:41:38 +0200 Subject: allow enabling IAD without UVC --- os/hal/include/hal_usbh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/include/hal_usbh.h') 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__) -- cgit v1.2.3 From f5f3c8ffdb666682868c0280995f2a5fb8c62aa3 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Thu, 14 Sep 2017 14:41:28 +0200 Subject: usbh:_ptxfe_int, use HPTXSTS, introduce usbhSyncrhonousTransfer --- os/hal/include/hal_usbh.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'os/hal/include/hal_usbh.h') diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h index 7ff8de0..9e31096 100644 --- a/os/hal/include/hal_usbh.h +++ b/os/hal/include/hal_usbh.h @@ -301,6 +301,12 @@ extern "C" { } /* Synchronous API */ + usbh_urbstatus_t usbhSyncrhonousTransfer(usbh_ep_t *ep, + void *data, + uint32_t len, + uint32_t *actual_len, + systime_t timeout); + usbh_urbstatus_t usbhBulkTransfer(usbh_ep_t *ep, void *data, uint32_t len, -- cgit v1.2.3 From 741459ac27f9efb158ff28860c5d8e9affb87b68 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Thu, 14 Sep 2017 17:36:21 +0200 Subject: usbh:correct spelling of usbhSynchronousTransfer --- os/hal/include/hal_usbh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/include/hal_usbh.h') diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h index 9e31096..6a6be21 100644 --- a/os/hal/include/hal_usbh.h +++ b/os/hal/include/hal_usbh.h @@ -301,7 +301,7 @@ extern "C" { } /* Synchronous API */ - usbh_urbstatus_t usbhSyncrhonousTransfer(usbh_ep_t *ep, + usbh_urbstatus_t usbhSynchronousTransfer(usbh_ep_t *ep, void *data, uint32_t len, uint32_t *actual_len, -- cgit v1.2.3