summaryrefslogtreecommitdiff
path: root/src/class/msc
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-23 15:17:43 +0700
committerhathach <[email protected]>2018-11-23 15:17:43 +0700
commita619ff88a36e4b841cb5901135b1811b06c3c843 (patch)
tree9212c44046d8d37a86d000d9f1f5c8bc3f54d3f6 /src/class/msc
parentcb8782e5f28b4897e73520c91296d1ac7d71da81 (diff)
rename xfer complete enum
Diffstat (limited to 'src/class/msc')
-rw-r--r--src/class/msc/msc_host.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/msc/msc_host.h b/src/class/msc/msc_host.h
index 0afe5c515..a408bbeaf 100644
--- a/src/class/msc/msc_host.h
+++ b/src/class/msc/msc_host.h
@@ -174,9 +174,9 @@ void tuh_msc_unmounted_cb(uint8_t dev_addr);
* \param[in] event an value from \ref xfer_result_t
* \param[in] xferred_bytes Number of bytes transferred via USB bus
* \note event can be one of following
- * - TUSB_EVENT_XFER_COMPLETE : previously scheduled transfer completes successfully.
- * - TUSB_EVENT_XFER_ERROR : previously scheduled transfer encountered a transaction error.
- * - TUSB_EVENT_XFER_STALLED : previously scheduled transfer is stalled by device.
+ * - XFER_RESULT_SUCCESS : previously scheduled transfer completes successfully.
+ * - XFER_RESULT_FAILED : previously scheduled transfer encountered a transaction error.
+ * - XFER_RESULT_STALLED : previously scheduled transfer is stalled by device.
* \note
*/
void tuh_msc_isr(uint8_t dev_addr, xfer_result_t event, uint32_t xferred_bytes);