summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-11 18:52:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-11 18:52:59 +0000
commitbf7b0b10ec01c1272c4007f90866b03bd8aff054 (patch)
treef85878e13a208af99b1805ba7e3e7a932d84d981 /nuttx/arch
parent17fe2e97f7102db7e1d44183d0483c006d52c36d (diff)
downloadpx4-nuttx-bf7b0b10ec01c1272c4007f90866b03bd8aff054.tar.gz
px4-nuttx-bf7b0b10ec01c1272c4007f90866b03bd8aff054.tar.bz2
px4-nuttx-bf7b0b10ec01c1272c4007f90866b03bd8aff054.zip
Add an NSH configuration for the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4930 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/lpc43_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
index 6455be399..9cbb8238c 100644
--- a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
+++ b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
@@ -363,7 +363,7 @@ void up_irqinitialize(void)
/* If a debugger is connected, try to prevent it from catching hardfaults */
#ifdef CONFIG_DEBUG
- regval = getreg32(NVIC_DEMCR);
+ regval = getreg32(NVIC_DEMCR);
regval &= ~NVIC_DEMCR_VCHARDERR;
putreg32(regval, NVIC_DEMCR);
#endif