aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/usb_msc.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-09 16:38:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-09 16:38:56 +0000
commitf27e4f46fe7db437775838da11e125f722e81c11 (patch)
treee66c6160947e4b1729df8b7c4e73bebb5aff9a3b /os/various/usb_msc.h
parent0df60fe0a49f6fc1413e1a8cc4e0fb01c45224d8 (diff)
downloadChibiOS-f27e4f46fe7db437775838da11e125f722e81c11.tar.gz
ChibiOS-f27e4f46fe7db437775838da11e125f722e81c11.tar.bz2
ChibiOS-f27e4f46fe7db437775838da11e125f722e81c11.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2812 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/usb_msc.h')
-rw-r--r--os/various/usb_msc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/various/usb_msc.h b/os/various/usb_msc.h
index f7ab77c9c..952903933 100644
--- a/os/various/usb_msc.h
+++ b/os/various/usb_msc.h
@@ -38,6 +38,10 @@
#define MSC_GET_MAX_LUN_COMMAND 0xFE
#define MSC_MASS_STORAGE_RESET_COMMAND 0xFF
+#define MSC_CSW_STATUS_PASSED 0
+#define MSC_CSW_STATUS_FAILED 1
+#define MSC_CSW_STATUS_PHASE_ERROR 2
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/