summaryrefslogtreecommitdiff
path: root/src/common/tusb_common.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-25 16:56:57 +0700
committerhathach <[email protected]>2018-07-25 16:56:57 +0700
commitd2ab4db25ee95058131d3b6139f9bb89d16f9cd7 (patch)
treed75e5d6a028593164d28e1ff44cf05e35d387fd0 /src/common/tusb_common.h
parent1982886f87f87785fbc8b12dbc77393b0371bec2 (diff)
add scsi start stop unit struct, improve device msc, correctly stall unsupported scsi command
Diffstat (limited to 'src/common/tusb_common.h')
-rw-r--r--src/common/tusb_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index 58a18f25c..e8baa9de4 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -101,6 +101,9 @@
#endif
+// for declaration of reserved field, make use of _TU_COUNTER_
+#define TU_RESERVED XSTRING_CONCAT_(reserved, _TU_COUNTER_)
+
/*------------------------------------------------------------------*/
/* Count number of arguments of __VA_ARGS__
* - reference https://groups.google.com/forum/#!topic/comp.std.c/d-6Mj5Lko_s