mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Fix typo in vectored interrpt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1987 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************
|
/********************************************************************************
|
||||||
* arch/arm/src/lpc214x/lpc214x_decodeirq.c
|
* arch/arm/src/lpc214x/lpc214x_decodeirq.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -162,7 +162,7 @@ static void lpc214x_decodeirq( uint32 *regs)
|
|||||||
#ifdef CONFIG_VECTORED_INTERRUPTS
|
#ifdef CONFIG_VECTORED_INTERRUPTS
|
||||||
void up_decodeirq(uint32 *regs)
|
void up_decodeirq(uint32 *regs)
|
||||||
{
|
{
|
||||||
vic_vector_t vector = (vic_vector)vic_getreg(LPC214X_VIC_VECTADDR_OFFSET);
|
vic_vector_t vector = (vic_vector_t)vic_getreg(LPC214X_VIC_VECTADDR_OFFSET);
|
||||||
vector(regs);
|
vector(regs);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user