summaryrefslogtreecommitdiff
path: root/nuttx/drivers/usbdev
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-12 14:47:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-12 14:47:29 +0000
commit5abae0f25e1093b498415562d1e289305cde6750 (patch)
tree00cd48a784507eaf2ecdfd694935eabd380541b8 /nuttx/drivers/usbdev
parent794c10452c39164c341eee80830b1e659f3dab2b (diff)
downloadpx4-nuttx-5abae0f25e1093b498415562d1e289305cde6750.tar.gz
px4-nuttx-5abae0f25e1093b498415562d1e289305cde6750.tar.bz2
px4-nuttx-5abae0f25e1093b498415562d1e289305cde6750.zip
Working for missing logic to get EP0 OUT DATA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4594 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbdev')
-rw-r--r--nuttx/drivers/usbdev/cdcacm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/drivers/usbdev/cdcacm.c b/nuttx/drivers/usbdev/cdcacm.c
index b5e4dd056..b8b7d0653 100644
--- a/nuttx/drivers/usbdev/cdcacm.c
+++ b/nuttx/drivers/usbdev/cdcacm.c
@@ -1402,7 +1402,10 @@ static int cdcacm_setup(FAR struct usbdevclass_driver_s *driver,
{
/* Save the new line coding in the private data structure */
+#warning "There is no mechanism now for the class driver to receive EP0 SETUP OUT data"
+#if 0
memcpy(&priv->linecoding, ctrlreq->buf, MIN(len, 7));
+#endif
ret = 0;
/* If there is a registered callback to receive line status info, then