diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 20:59:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 20:59:06 +0000 |
commit | 471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa (patch) | |
tree | 6ad8b287c156c844116acc3dc4f55ec9069fd180 /nuttx/arch/z80/src/ez80 | |
parent | 692fdecda1d50a2d5ca3bd8338074ece4c8eee38 (diff) | |
download | px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.tar.gz px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.tar.bz2 px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.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@2361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/ez80')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_schedulesigaction.c | 2 | ||||
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_timerisr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_schedulesigaction.c b/nuttx/arch/z80/src/ez80/ez80_schedulesigaction.c index e95cebc69..8c9a84260 100644 --- a/nuttx/arch/z80/src/ez80/ez80_schedulesigaction.c +++ b/nuttx/arch/z80/src/ez80/ez80_schedulesigaction.c @@ -123,7 +123,7 @@ static void ez80_sigsetup(FAR _TCB *tcb, sig_deliver_t sigdeliver, FAR chipreg_t void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver) { - sdbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16_t))sigdeliver); + sdbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); /* Refuse to handle nested signal actions */ diff --git a/nuttx/arch/z80/src/ez80/ez80_timerisr.c b/nuttx/arch/z80/src/ez80/ez80_timerisr.c index b047a1331..a251b57e7 100644 --- a/nuttx/arch/z80/src/ez80/ez80_timerisr.c +++ b/nuttx/arch/z80/src/ez80/ez80_timerisr.c @@ -112,7 +112,7 @@ int up_timerisr(int irq, chipreg_t *regs) void up_timerinit(void) { - uint16_t) reload; + uint16_t reload; uint8_t reg; /* Disable the timer */ @@ -142,7 +142,7 @@ void up_timerinit(void) * NOTE: The system clock frequency value is defined in the board.h file */ - reload = (uint16_t))(ez80_systemclock / 1600); + reload = (uint16_t)(ez80_systemclock / 1600); outp(EZ80_TMR0_RRH, (uint8_t)(reload >> 8)); outp(EZ80_TMR0_RRL, (uint8_t)(reload)); |