change end of line to UNIX format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1451 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
24c5c98240
commit
df69843bd3
@ -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 */
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user