summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-06-04 13:31:42 +0000
committer[email protected] <[email protected]>2011-06-04 13:31:42 +0000
commitdf69843bd376e5e150a67c27099f0fd2de0e7240 (patch)
tree54ac74d978dfca6310acd025057a19856b87b319 /libcpu/arm
parent24c5c982401f65f8ef8eecbb7ef94ef83042b32f (diff)
change end of line to UNIX format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1451 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/lpc24xx/interrupt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/lpc24xx/interrupt.c b/libcpu/arm/lpc24xx/interrupt.c
index 5e622a584a..d697fb1c52 100644
--- a/libcpu/arm/lpc24xx/interrupt.c
+++ b/libcpu/arm/lpc24xx/interrupt.c
@@ -77,11 +77,11 @@ void rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler, rt_isr_ha
if(vector < MAX_HANDLERS)
{
/* find first un-assigned VIC address for the handler */
- vect_addr = (rt_uint32_t *)(VIC_BASE_ADDR + 0x100 + vector*4);
-
+ vect_addr = (rt_uint32_t *)(VIC_BASE_ADDR + 0x100 + vector*4);
+
/* get old handler */
if (old_handler != RT_NULL) *old_handler = (rt_isr_handler_t)*vect_addr;
-
+
*vect_addr = (rt_uint32_t)new_handler; /* set interrupt vector */
}
}