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
This commit is contained in:
Theodore Ateba 2017-09-16 15:50:51 +00:00
parent 21aec31e1f
commit c5c47655f6
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ void _usb_ep0setup(USBDriver *usbp, usbep_t ep) {
/* Starts the receive phase.*/ /* Starts the receive phase.*/
usbp->ep0state = USB_EP0_OUT_RX; usbp->ep0state = USB_EP0_OUT_RX;
osalSysLockFromISR(); osalSysLockFromISR();
usbStartReceiveI(usbp, 0, usbp->ep0next, usbp->ep0n); usbStartReceiveI(usbp, 0, (uint8_t *)usbp->ep0next, usbp->ep0n);
osalSysUnlockFromISR(); osalSysUnlockFromISR();
} }
else { else {