diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:05:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:05:08 +0000 |
commit | f8a2fb3042d58963a00fe808d18f84eec6a0be71 (patch) | |
tree | 9f122b32d69abfaf364eab636ef8cc5bd7b730a2 /nuttx/arch/sh/src/sh1/sh1_timerisr.c | |
parent | f66691d238faf4858c8c9f5c5a53f118a1e1ab8e (diff) | |
download | px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.tar.gz px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.tar.bz2 px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.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@2357 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_timerisr.c')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_timerisr.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_timerisr.c b/nuttx/arch/sh/src/sh1/sh1_timerisr.c index f29c141eb..7072c4c64 100644 --- a/nuttx/arch/sh/src/sh1/sh1_timerisr.c +++ b/nuttx/arch/sh/src/sh1/sh1_timerisr.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/sh/src/sh1/sh1_timerisr.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -38,9 +38,11 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + +#include <stdint.h> #include <time.h> #include <debug.h> + #include <nuttx/arch.h> #include <arch/board/board.h> @@ -131,9 +133,9 @@ * ****************************************************************************/ -int up_timerisr(int irq, uint32 *regs) +int up_timerisr(int irq, uint32_t *regs) { - ubyte reg8; + uint8_t reg8; /* Process timer interrupt */ @@ -159,7 +161,7 @@ int up_timerisr(int irq, uint32 *regs) void up_timerinit(void) { - ubyte reg8; + uint8_t reg8; /* Clear timer counter 0 */ |