summaryrefslogtreecommitdiff
path: root/tinyusb/class/cdc_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-01 13:53:54 +0700
committerhathach <[email protected]>2013-10-01 13:53:54 +0700
commit640b0ec5467eadf153c4a09d53e0a38bae752685 (patch)
tree1d589605ee186827ba6bd70958dd9286ca5ac535 /tinyusb/class/cdc_host.c
parent7f4a3fc8294e733a9ba52d20fa16ca6662721126 (diff)
- move disconnection handle to enum task --> move tusbh_xxx_unmount is invoked in non-isr context
Diffstat (limited to 'tinyusb/class/cdc_host.c')
-rw-r--r--tinyusb/class/cdc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/cdc_host.c b/tinyusb/class/cdc_host.c
index 1fae8d66e..f54889489 100644
--- a/tinyusb/class/cdc_host.c
+++ b/tinyusb/class/cdc_host.c
@@ -266,7 +266,7 @@ void cdch_close(uint8_t dev_addr)
memclr_(p_cdc, sizeof(cdch_data_t));
- tusbh_cdc_unmounted_isr(dev_addr);
+ tusbh_cdc_unmounted_cb(dev_addr);
}