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:
parent
21aec31e1f
commit
c5c47655f6
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue