diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-18 22:12:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-18 22:12:52 +0000 |
commit | cb28e069374a979bfafa651e4c8ddda8a95d3c79 (patch) | |
tree | 18f0805d7511a520729685c9ca81f1e7e70f3170 /nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c | |
parent | b1bb829bbf07e59acb1aecf24c514901b32752e2 (diff) | |
download | px4-nuttx-cb28e069374a979bfafa651e4c8ddda8a95d3c79.tar.gz px4-nuttx-cb28e069374a979bfafa651e4c8ddda8a95d3c79.tar.bz2 px4-nuttx-cb28e069374a979bfafa651e4c8ddda8a95d3c79.zip |
LPC2148 timer irq fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@931 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c b/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c index 618e9b15d..367b96ca3 100644 --- a/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c +++ b/nuttx/arch/arm/src/lpc214x/lpc214x_timerisr.c @@ -60,9 +60,9 @@ #define tmr_getreg16(o) getreg16(LPC214X_TMR0_BASE+(o)) #define tmr_getreg32(o) getreg32(LPC214X_TMR0_BASE+(o)) -#define tmr_putreg8(o,v) putreg8((v), LPC214X_TMR0_BASE+(o)) -#define tmr_putreg16(o,v) putreg16((v), LPC214X_TMR0_BASE+(o)) -#define tmr_putreg32(o,v) putreg32((v), LPC214X_TMR0_BASE+(o)) +#define tmr_putreg8(v,o) putreg8((v), LPC214X_TMR0_BASE+(o)) +#define tmr_putreg16(v,o) putreg16((v), LPC214X_TMR0_BASE+(o)) +#define tmr_putreg32(v,o) putreg32((v), LPC214X_TMR0_BASE+(o)) /**************************************************************************** * Private Types @@ -151,7 +151,7 @@ void up_timerinit(void) /* Attach the timer interrupt vector */ #ifdef CONFIG_VECTORED_INTERRUPTS - up_attach_vector(LPC214X_IRQ_SYSTIMER, LPC214X_SYSTEMER_VEC, (vic_vector_t)up_timerisr); + up_attach_vector(LPC214X_IRQ_SYSTIMER, LPC214X_SYSTIMER_VEC, (vic_vector_t)up_timerisr); #else (void)irq_attach(LPC214X_IRQ_SYSTIMER, (xcpt_t)up_timerisr); #endif |