diff options
author | Uladzimir Pylinski <barthess@yandex.ru> | 2017-06-09 08:10:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 08:10:34 +0300 |
commit | ca686a5cbab4a2c6de321e7f1a9c06c28fd56f9a (patch) | |
tree | 0f90e9cc2f1cceee038eaabd3a21892e7d8b0ea8 /os/hal/ports/STM32/LLD/USBHv1 | |
parent | 830f09e2b7d9af3146b1ecd8821664d874355005 (diff) | |
parent | 4483baab02f3a80d262d42cb69961f1f349b5d1e (diff) | |
download | ChibiOS-Contrib-ca686a5cbab4a2c6de321e7f1a9c06c28fd56f9a.tar.gz ChibiOS-Contrib-ca686a5cbab4a2c6de321e7f1a9c06c28fd56f9a.tar.bz2 ChibiOS-Contrib-ca686a5cbab4a2c6de321e7f1a9c06c28fd56f9a.zip |
Merge pull request #118 from dismirlian/usbh_devel
USBH: fix compile with IAR
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBHv1')
-rw-r--r-- | os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c b/os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c index 7981695..5954cb2 100644 --- a/os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c +++ b/os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c @@ -387,7 +387,7 @@ static bool _update_urb(usbh_ep_t *ep, uint32_t hctsiz, usbh_urb_t *urb, bool co osalDbgCheck(len == ep->xfer.partial); //TODO: if len == ep->xfer.partial, use this instead of the above code } -#if 1 +#if 0 osalDbgAssert(urb->actualLength + len <= urb->requestedLength, "what happened?"); #else if (urb->actualLength + len > urb->requestedLength) { |