summaryrefslogtreecommitdiff
path: root/nuttx/include/stdint.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-02 14:43:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-02 14:43:28 +0000
commitdd2673f8ec1cb07aae5e94c44eaf1118491a8d64 (patch)
tree51dd8141e5501ca2532309aafbd047cf1ff3121c /nuttx/include/stdint.h
parentdec7f69cce6af4bf8131c13467907477ffdc6500 (diff)
downloadnuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.tar.gz
nuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.tar.bz2
nuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.zip
Add logic to sleep in lpc17xx idle loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3329 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/stdint.h')
-rwxr-xr-xnuttx/include/stdint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/stdint.h b/nuttx/include/stdint.h
index 3bd1d9f47..d44b13639 100755
--- a/nuttx/include/stdint.h
+++ b/nuttx/include/stdint.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/stdint.h
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -60,7 +60,7 @@
#define INT16_MAX 0x7fff
#define UINT16_MAX 0xffff
-#ifdef __INT64_DEFINED
+#ifdef __INT24_DEFINED
# define INT24_MIN 0x800000
# define INT24_MAX 0x7fffff
# define UINT24_MAX 0xffffff
@@ -86,7 +86,7 @@
#define INT16_LEASTN_MAX 0x7fff
#define UINT16_LEASTN_MAX 0xffff
-#ifdef __INT64_DEFINED
+#ifdef __INT24_DEFINED
# define INT24_LEASTN_MIN 0x800000
# define INT24_LEASTN_MAX 0x7fffff
# define UINT24_LEASTN_MAX 0xffffff
@@ -112,7 +112,7 @@
#define INT16_FASTN_MAX 0x7fff
#define UINT16_FASTN_MAX 0xffff
-#ifdef __INT64_DEFINED
+#ifdef __INT24_DEFINED
# define INT24_FASTN_MIN 0x800000
# define INT24_FASTN_MAX 0x7fffff
# define UINT24_FASTN_MAX 0xffffff