diff options
| author | hathach <[email protected]> | 2013-10-01 13:53:54 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-10-01 13:53:54 +0700 |
| commit | 640b0ec5467eadf153c4a09d53e0a38bae752685 (patch) | |
| tree | 1d589605ee186827ba6bd70958dd9286ca5ac535 /tinyusb/class/msc_host.c | |
| parent | 7f4a3fc8294e733a9ba52d20fa16ca6662721126 (diff) | |
- move disconnection handle to enum task --> move tusbh_xxx_unmount is invoked in non-isr context
Diffstat (limited to 'tinyusb/class/msc_host.c')
| -rw-r--r-- | tinyusb/class/msc_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/msc_host.c b/tinyusb/class/msc_host.c index 14c6bb5e4..df41a5998 100644 --- a/tinyusb/class/msc_host.c +++ b/tinyusb/class/msc_host.c @@ -427,7 +427,7 @@ void msch_close(uint8_t dev_addr) memclr_(&msch_data[dev_addr-1], sizeof(msch_interface_t)); osal_semaphore_reset(msch_sem_hdl); - tusbh_msc_unmounted_isr(dev_addr); // invoke Application Callback + tusbh_msc_unmounted_cb(dev_addr); // invoke Application Callback } //--------------------------------------------------------------------+ |
