diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2017-09-16 15:50:51 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2017-09-16 15:50:51 +0000 |
commit | c5c47655f66aebf3dd47e7b84c7ff5a61879c154 (patch) | |
tree | c51efcea967198e1193d68fbef2b13cc25e78e50 /os/hal/src | |
parent | 21aec31e1f2b06fea260c6d934422f7da4e99fe9 (diff) | |
download | ChibiOS-c5c47655f66aebf3dd47e7b84c7ff5a61879c154.tar.gz ChibiOS-c5c47655f66aebf3dd47e7b84c7ff5a61879c154.tar.bz2 ChibiOS-c5c47655f66aebf3dd47e7b84c7ff5a61879c154.zip |
Add a casting conversion to remove warning during compilation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10594 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/hal_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/hal_usb.c b/os/hal/src/hal_usb.c index 314473f89..40bb74496 100644 --- a/os/hal/src/hal_usb.c +++ b/os/hal/src/hal_usb.c @@ -846,7 +846,7 @@ void _usb_ep0setup(USBDriver *usbp, usbep_t ep) { /* Starts the receive phase.*/
usbp->ep0state = USB_EP0_OUT_RX;
osalSysLockFromISR();
- usbStartReceiveI(usbp, 0, usbp->ep0next, usbp->ep0n);
+ usbStartReceiveI(usbp, 0, (uint8_t *)usbp->ep0next, usbp->ep0n);
osalSysUnlockFromISR();
}
else {
|