Add options to support all three host CDC/ACM protocols: Compliant, Reduced, and Bulk-Only

This commit is contained in:
Gregory Nutt
2015-05-10 08:16:58 -06:00
parent bd437bfb03
commit 46e5d0a419
4 changed files with 110 additions and 37 deletions
+1
View File
@@ -693,6 +693,7 @@ static int cdcacm_setconfig(FAR struct cdcacm_dev_s *priv, uint8_t config)
usbtrace(TRACE_CLSERROR(USBSER_TRACEERR_EPINTINCONFIGFAIL), 0);
goto errout;
}
priv->epintin->priv = priv;
/* Configure the IN bulk endpoint */