aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/MassStorage.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-04 09:08:48 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-04 09:08:48 +0000
commitc49bdcb7c930f2d0e0cf6887b3326f9e8f7f37b3 (patch)
tree43858ac2a66d50dd0385f1c4de1eea4d685976b5 /LUFA/Drivers/USB/Class/Host/MassStorage.h
parent478d9dc04f477c63db990a52a3866f29093b38dc (diff)
downloadlufa-c49bdcb7c930f2d0e0cf6887b3326f9e8f7f37b3.tar.gz
lufa-c49bdcb7c930f2d0e0cf6887b3326f9e8f7f37b3.tar.bz2
lufa-c49bdcb7c930f2d0e0cf6887b3326f9e8f7f37b3.zip
Fixed Mass Storage Host Class driver and Low Level demo not clearing the error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/MassStorage.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/MassStorage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/MassStorage.h b/LUFA/Drivers/USB/Class/Host/MassStorage.h
index fc3bc6678..584172fe8 100644
--- a/LUFA/Drivers/USB/Class/Host/MassStorage.h
+++ b/LUFA/Drivers/USB/Class/Host/MassStorage.h
@@ -149,6 +149,10 @@
* UNit, a logical drive) in the device. This value can then be used in the other functions of the Mass Storage
* Host mode Class driver to address a specific LUN within the device.
*
+ * \note Some devices do not support this request, and will STALL it when issued. To get around this,
+ * on unsupported devices the max LUN index will be reported as zero and no error will be returned
+ * if the device STALLs the request.
+ *
* \param[in,out] MSInterfaceInfo Pointer to a structure containing a MS Class host configuration and state
* \param[out] MaxLUNIndex Pointer to a location where the highest LUN index value should be stored
*