summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-22 21:48:42 +0700
committerhathach <[email protected]>2021-05-22 21:48:42 +0700
commitdf65c35b31581881b2bf49d9e16608d46f98fe4b (patch)
tree4e8bf98198602217cf13f06c23f88cc1533fe446 /src/class/msc/msc_host.c
parent63c57ed1a4285671ba38d87b8b77fd68c55880e6 (diff)
implement hid host set report with control transfer
rename mount, umount callback
Diffstat (limited to 'src/class/msc/msc_host.c')
-rw-r--r--src/class/msc/msc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c
index 4869c8c03..08b4db9e1 100644
--- a/src/class/msc/msc_host.c
+++ b/src/class/msc/msc_host.c
@@ -300,7 +300,7 @@ void msch_close(uint8_t dev_addr)
tu_memclr(p_msc, sizeof(msch_interface_t));
// invoke Application Callback
- if (tuh_msc_unmount_cb) tuh_msc_unmount_cb(dev_addr);
+ if (tuh_msc_umount_cb) tuh_msc_umount_cb(dev_addr);
}
bool msch_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes)