implement hid host set report with control transfer
rename mount, umount callback
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -109,7 +109,7 @@ bool tuh_msc_read_capacity(uint8_t dev_addr, uint8_t lun, scsi_read_capacity10_r
|
||||
TU_ATTR_WEAK void tuh_msc_mount_cb(uint8_t dev_addr);
|
||||
|
||||
// Invoked when a device with MassStorage interface is unmounted
|
||||
TU_ATTR_WEAK void tuh_msc_unmount_cb(uint8_t dev_addr);
|
||||
TU_ATTR_WEAK void tuh_msc_umount_cb(uint8_t dev_addr);
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Internal Class Driver API
|
||||
|
||||
Reference in New Issue
Block a user