summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_device.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-26 15:59:13 +0700
committerhathach <[email protected]>2018-07-26 15:59:13 +0700
commitf5b2912372b6fbd69a18774f46155ae6723cb4e3 (patch)
tree84c784529ea4786b77c55b4ff75c1cd173bee83b /src/class/msc/msc_device.h
parent602315cd57535598c88034727116532689ed6b65 (diff)
add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command
Diffstat (limited to 'src/class/msc/msc_device.h')
-rw-r--r--src/class/msc/msc_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/msc/msc_device.h b/src/class/msc/msc_device.h
index 60144cc55..236968f49 100644
--- a/src/class/msc/msc_device.h
+++ b/src/class/msc/msc_device.h
@@ -97,6 +97,7 @@ VERIFY_STATIC(CFG_TUD_MSC_BUFSIZE < UINT16_MAX, "Size is not correct");
// Check if MSC interface is ready to use
bool tud_msc_ready(void);
+bool tud_msc_set_sense(uint8_t lun, uint8_t sense_key, uint8_t add_sense_code, uint8_t add_sense_qualifier);
//--------------------------------------------------------------------+
// APPLICATION CALLBACK API (WEAK is optional)