diff options
| author | mux | 2014-02-01 13:26:04 +0200 |
|---|---|---|
| committer | mux | 2014-02-01 13:28:29 +0200 |
| commit | b2269b610e5f29d60d637e9b433275646ea3d53e (patch) | |
| tree | 50a9655b1ae1b5a071265fc4394c500b40f115cd /stm/stmusbd/usbd_pyb_core.c | |
| parent | 532f2c30f66c9ff1e4f2aded29b98ba0db5ec341 (diff) | |
Detect VCP line state.
* Detect VCP line state, based on SET_CONTROL_LINE_STATE request
Diffstat (limited to 'stm/stmusbd/usbd_pyb_core.c')
| -rw-r--r-- | stm/stmusbd/usbd_pyb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/stmusbd/usbd_pyb_core.c b/stm/stmusbd/usbd_pyb_core.c index ac51e3ad8..d887b89c6 100644 --- a/stm/stmusbd/usbd_pyb_core.c +++ b/stm/stmusbd/usbd_pyb_core.c @@ -648,7 +648,7 @@ static uint8_t usbd_pyb_Setup(void *pdev, USB_SETUP_REQ *req) { // Not a Data request
// Transfer the command to the interface layer */
- return VCP_fops.pIf_Ctrl(req->bRequest, NULL, 0);
+ return VCP_fops.pIf_Ctrl(req->bRequest, NULL, req->wValue);
}
} else if (req->wIndex == 2) {
|
