diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 01:47:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 01:47:46 +0000 |
commit | b10830785275aac3667b88c2d1a90a5563bbdb49 (patch) | |
tree | c36dbfb8aa4c33b75f784d688f416619767e05b3 /nuttx/arch/hc/src/common/up_interruptcontext.c | |
parent | 1375e4917dc9f9ec7ad488fa83c23d94a1053de9 (diff) | |
download | px4-nuttx-b10830785275aac3667b88c2d1a90a5563bbdb49.tar.gz px4-nuttx-b10830785275aac3667b88c2d1a90a5563bbdb49.tar.bz2 px4-nuttx-b10830785275aac3667b88c2d1a90a5563bbdb49.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2353 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/hc/src/common/up_interruptcontext.c')
-rwxr-xr-x | nuttx/arch/hc/src/common/up_interruptcontext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/hc/src/common/up_interruptcontext.c b/nuttx/arch/hc/src/common/up_interruptcontext.c index dec88f860..82caae044 100755 --- a/nuttx/arch/hc/src/common/up_interruptcontext.c +++ b/nuttx/arch/hc/src/common/up_interruptcontext.c @@ -38,8 +38,8 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdbool.h> #include <nuttx/arch.h> #include <nuttx/irq.h> @@ -60,12 +60,12 @@ /**************************************************************************** * Name: up_interrupt_context * - * Description: Return TRUE is we are currently executing in the interrupt + * Description: Return true is we are currently executing in the interrupt * handler context. * ****************************************************************************/ -boolean up_interrupt_context(void) +bool up_interrupt_context(void) { return current_regs != NULL; } |