diff options
| author | hathach <[email protected]> | 2014-02-28 18:42:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-02-28 18:42:33 +0700 |
| commit | 5f8f046eaa10f434b9bbb7f7cd0ed0f9dad24952 (patch) | |
| tree | 370244012ea369323f0cf2533e02a3e7c80ec288 /tinyusb/class/msc_host.c | |
| parent | da6b2fbef85118ec8a076f297492683dbbbe5684 (diff) | |
refractor remove tusbh_msc_is_failed
increase usbh enum task from 150 to 200 due to stack overflow when mounting msc device
added task for msc host freeRTOS with stack = 300 (still cannot execute copy command)
Diffstat (limited to 'tinyusb/class/msc_host.c')
| -rw-r--r-- | tinyusb/class/msc_host.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tinyusb/class/msc_host.c b/tinyusb/class/msc_host.c index 009c998a0..ac62e5d9a 100644 --- a/tinyusb/class/msc_host.c +++ b/tinyusb/class/msc_host.c @@ -80,14 +80,6 @@ bool tusbh_msc_is_busy(uint8_t dev_addr) hcd_pipe_is_busy(msch_data[dev_addr-1].bulk_in); } -bool tusbh_msc_is_failed(uint8_t dev_addr) -{ - return msch_data[dev_addr-1].is_initialized && - hcd_pipe_is_error(msch_data[dev_addr-1].bulk_in); -} - -// TODO tusbh_msc_is_stalled - uint8_t const* tusbh_msc_get_vendor_name(uint8_t dev_addr) { return msch_data[dev_addr-1].is_initialized ? msch_data[dev_addr-1].vendor_id : NULL; |
