diff options
| author | hathach <[email protected]> | 2019-05-10 23:46:26 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-10 23:46:26 +0700 |
| commit | bfa073818c83266c2353ccf4fce580eef62e4a0c (patch) | |
| tree | b61a7072a26e30b9be5f94d7f1fb114cf2f731dc /src/device/usbd.c | |
| parent | 13c1bd762e48fc83125dd0a701c895816cfe5921 (diff) | |
| parent | 667133304b244927defd45d86281a5653401d356 (diff) | |
Merge pull request #63 from hathach/develop
enhance msc device
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index d811c471a..434a2c3d8 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -456,7 +456,7 @@ static bool process_control_request(uint8_t rhport, tusb_control_request_t const case TUSB_REQ_CLEAR_FEATURE:
if ( TUSB_REQ_FEATURE_EDPT_HALT == p_request->wValue )
{
- dcd_edpt_clear_stall(rhport, tu_u16_low(p_request->wIndex));
+ usbd_edpt_clear_stall(rhport, tu_u16_low(p_request->wIndex));
}
usbd_control_status(rhport, p_request);
break;
|
