diff options
| author | hathach <[email protected]> | 2018-12-10 20:26:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-10 20:26:47 +0700 |
| commit | dffe9b335ee38a7720adff9a819f17b2899e38d1 (patch) | |
| tree | 98dae1674807d4a7190a3c4bc575cc54fa1f4981 /src/class/msc | |
| parent | 5886ccdb0388345740a7572f26eaa9f167091222 (diff) | |
clean up host pipe api
Diffstat (limited to 'src/class/msc')
| -rw-r--r-- | src/class/msc/msc_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c index 57a409ffd..4f5f0c599 100644 --- a/src/class/msc/msc_host.c +++ b/src/class/msc/msc_host.c @@ -368,7 +368,7 @@ bool msch_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interfac .bmRequestType_bit = { .recipient = TUSB_REQ_RCPT_ENDPOINT, .type = TUSB_REQ_TYPE_STANDARD, .direction = TUSB_DIR_OUT },
.bRequest = TUSB_REQ_CLEAR_FEATURE,
.wValue = 0,
- .wIndex = hcd_pipe_get_endpoint_addr(msch_data[dev_addr-1].bulk_in),
+ .wIndex = hcd_pipe_get_endpoint_addr(msch_data[dev_addr-1].bulk_in), // FIXME use ep addr
.wLength = 0
};
|
