diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 16:26:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 16:26:48 +0000 |
commit | 22e22db0161126d1c58a07e2323662efc18d6c86 (patch) | |
tree | e59efd65935cdb9d1358a598925a0a3fa5ace5fd /src/templates/chtypes.h | |
parent | b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8 (diff) | |
download | ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.tar.gz ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.tar.bz2 ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@649 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/templates/chtypes.h')
-rw-r--r-- | src/templates/chtypes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/templates/chtypes.h b/src/templates/chtypes.h index 547b0fb7e..821517574 100644 --- a/src/templates/chtypes.h +++ b/src/templates/chtypes.h @@ -63,9 +63,16 @@ typedef uint32_t systime_t; /** Counter, recommended fastest signed.*/
typedef int32_t cnt_t;
+/** Inline function modifier. */
#define INLINE inline
+
+/** Packed structure modifier (within). */
#define PACK_STRUCT_STRUCT __attribute__((packed))
+
+/** Packed structure modifier (before). */
#define PACK_STRUCT_BEGIN
+
+/** Packed structure modifier (after). */
#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
|