diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-12 16:36:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-12 16:36:45 +0000 |
commit | ec5c538c2d9b423c79387a09c60457e918e22703 (patch) | |
tree | 986a5643cf00efbea8f795c17cc3466982031247 /nuttx/include/sys | |
parent | e6f4d56ce41c0e258632e9525b2e62dd17fe8273 (diff) | |
download | px4-nuttx-ec5c538c2d9b423c79387a09c60457e918e22703.tar.gz px4-nuttx-ec5c538c2d9b423c79387a09c60457e918e22703.tar.bz2 px4-nuttx-ec5c538c2d9b423c79387a09c60457e918e22703.zip |
Add wchar_t type; Add LPC17xx CAN driver from Lzyy; Fix serial bug reported by Lzyy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3775 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys')
-rw-r--r-- | nuttx/include/sys/types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/include/sys/types.h b/nuttx/include/sys/types.h index 521598278..f505c6afa 100644 --- a/nuttx/include/sys/types.h +++ b/nuttx/include/sys/types.h @@ -103,6 +103,9 @@ ****************************************************************************/ #ifndef __ASSEMBLY__ + +/* Floating point types */ + typedef float float32; #ifndef CONFIG_HAVE_DOUBLE typedef float double_t; @@ -158,6 +161,14 @@ typedef int pid_t; typedef unsigned int id_t; +/* Signed integral type of the result of subtracting two pointers */ + +typedef intptr_t ptrdiff_t; + +/* Wide, 16-bit character types */ + +typedef uint16_t wchar_t; + /* blkcnt_t and off_t are signed integer types. * * blkcnt_t is used for file block counts. |