aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/serial_usb.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-14 19:37:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-14 19:37:40 +0000
commit2c15c4864f33c3c71c58e54494561eff1b291a0f (patch)
tree0fe85fb7e1825b67d78cadab18901bc7e6068e1b /os/hal/src/serial_usb.c
parentdd6a0b3ccdd62873e1cb874969741e3fb683db4b (diff)
downloadChibiOS-2c15c4864f33c3c71c58e54494561eff1b291a0f.tar.gz
ChibiOS-2c15c4864f33c3c71c58e54494561eff1b291a0f.tar.bz2
ChibiOS-2c15c4864f33c3c71c58e54494561eff1b291a0f.zip
More improvements in the USB driver model.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2738 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/serial_usb.c')
-rw-r--r--os/hal/src/serial_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c
index 430218edb..83f1c93ff 100644
--- a/os/hal/src/serial_usb.c
+++ b/os/hal/src/serial_usb.c
@@ -250,14 +250,14 @@ bool_t sduRequestsHook(USBDriver *usbp) {
if ((usbp->setup[0] & USB_RTYPE_TYPE_MASK) == USB_RTYPE_TYPE_CLASS) {
switch (usbp->setup[1]) {
case CDC_GET_LINE_CODING:
- usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding));
+ usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL);
return TRUE;
case CDC_SET_LINE_CODING:
- usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding));
+ usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL);
return TRUE;
case CDC_SET_CONTROL_LINE_STATE:
/* Nothing to do, there are no control lines.*/
- usbSetupTransfer(usbp, NULL, 0);
+ usbSetupTransfer(usbp, NULL, 0, NULL);
return TRUE;
default:
return FALSE;