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_modifyreg8.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_modifyreg8.c')
-rwxr-xr-x | nuttx/arch/hc/src/common/up_modifyreg8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/hc/src/common/up_modifyreg8.c b/nuttx/arch/hc/src/common/up_modifyreg8.c index 3f6f8b4f5..063c0921b 100755 --- a/nuttx/arch/hc/src/common/up_modifyreg8.c +++ b/nuttx/arch/hc/src/common/up_modifyreg8.c @@ -39,7 +39,7 @@ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdint.h> #include <debug.h> #include <arch/irq.h> @@ -71,10 +71,10 @@ * ****************************************************************************/ -void modifyreg8(unsigned int addr, ubyte clearbits, ubyte setbits) +void modifyreg8(unsigned int addr, uint8_t clearbits, uint8_t setbits) { irqstate_t flags; - ubyte regval; + uint8_t regval; flags = irqsave(); regval = getreg8(addr); |