Added control line and bitrate callbacks
And some additional clean-up
This commit is contained in:
committed by
Raphael Coeffic
parent
01059da849
commit
f3301e6210
+1
-1
@@ -553,7 +553,7 @@ uint8_t usbd_cdc_Setup (void *pdev,
|
||||
else /* No Data request */
|
||||
{
|
||||
/* Transfer the command to the interface layer */
|
||||
APP_FOPS.pIf_Ctrl(req->bRequest, NULL, 0);
|
||||
APP_FOPS.pIf_Ctrl(req->bRequest, (uint8_t *)&req->wValue, sizeof(req->wValue));
|
||||
}
|
||||
|
||||
return USBD_OK;
|
||||
|
||||
Reference in New Issue
Block a user