diff options
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/msc_host.c | 8 | ||||
| -rw-r--r-- | tinyusb/class/msc_host.h | 3 |
2 files changed, 0 insertions, 11 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; diff --git a/tinyusb/class/msc_host.h b/tinyusb/class/msc_host.h index dfbf323a8..3dcf18704 100644 --- a/tinyusb/class/msc_host.h +++ b/tinyusb/class/msc_host.h @@ -72,9 +72,6 @@ bool tusbh_msc_is_mounted(uint8_t dev_addr) ATTR_PURE ATTR_WARN_UNUSED_ */
bool tusbh_msc_is_busy(uint8_t dev_addr) ATTR_PURE ATTR_WARN_UNUSED_RESULT;
-// TODO refractor
-bool tusbh_msc_is_failed(uint8_t dev_addr) ATTR_PURE ATTR_WARN_UNUSED_RESULT;
-
/** \brief Get SCSI vendor's name of MassStorage device
* \param[in] dev_addr device address
* \return pointer to vendor's name or NULL if specified device does not support MassStorage
|
