diff options
author | Mark Harris <mharris@technobear.com> | 2017-09-14 17:36:21 +0200 |
---|---|---|
committer | Mark Harris <mharris@technobear.com> | 2017-09-14 17:36:21 +0200 |
commit | 741459ac27f9efb158ff28860c5d8e9affb87b68 (patch) | |
tree | 9e088e13f4ed3d5fbdde5f3170848403e3c2e10a | |
parent | f5f3c8ffdb666682868c0280995f2a5fb8c62aa3 (diff) | |
download | ChibiOS-Contrib-741459ac27f9efb158ff28860c5d8e9affb87b68.tar.gz ChibiOS-Contrib-741459ac27f9efb158ff28860c5d8e9affb87b68.tar.bz2 ChibiOS-Contrib-741459ac27f9efb158ff28860c5d8e9affb87b68.zip |
usbh:correct spelling of usbhSynchronousTransfer
-rw-r--r-- | os/hal/include/hal_usbh.h | 2 | ||||
-rw-r--r-- | os/hal/src/hal_usbh.c | 4 |
2 files changed, 3 insertions, 3 deletions
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, diff --git a/os/hal/src/hal_usbh.c b/os/hal/src/hal_usbh.c index a7ceedf..3949c68 100644 --- a/os/hal/src/hal_usbh.c +++ b/os/hal/src/hal_usbh.c @@ -337,10 +337,10 @@ usbh_urbstatus_t usbhBulkTransfer(usbh_ep_t *ep, systime_t timeout) { osalDbgAssert(ep->type == USBH_EPTYPE_BULK, "wrong ep"); - return usbhSyncrhonousTransfer(ep,data,len,actual_len,timeout); + return usbhSynchronousTransfer(ep,data,len,actual_len,timeout); } -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, |