summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471/src/up_sigdeliver.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-08 15:23:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-08 15:23:56 +0000
commit77f556a36f68292909cd98a7ddeb58c3f739f324 (patch)
treefaebbaa384049b9ddfb7279ff879ef3c76f625ac /nuttx/arch/c5471/src/up_sigdeliver.c
parent2ec8b9a0f5c8b7e7590cc5a7cc793eb249f449fe (diff)
downloadpx4-nuttx-77f556a36f68292909cd98a7ddeb58c3f739f324.tar.gz
px4-nuttx-77f556a36f68292909cd98a7ddeb58c3f739f324.tar.bz2
px4-nuttx-77f556a36f68292909cd98a7ddeb58c3f739f324.zip
Add support for onboard LEDs; Fix serial bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@43 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/c5471/src/up_sigdeliver.c')
-rw-r--r--nuttx/arch/c5471/src/up_sigdeliver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/c5471/src/up_sigdeliver.c b/nuttx/arch/c5471/src/up_sigdeliver.c
index 1ef77c182..df1040314 100644
--- a/nuttx/arch/c5471/src/up_sigdeliver.c
+++ b/nuttx/arch/c5471/src/up_sigdeliver.c
@@ -80,6 +80,7 @@ void up_sigdeliver(void)
uint32 regs[XCPTCONTEST_REGS];
sig_deliver_t sigdeliver;
+ up_ledon(LED_SIGNAL);
ASSERT(rtcb->xcp.sigdeliver);
/* Save the real return state on the stack. */
@@ -113,5 +114,6 @@ void up_sigdeliver(void)
* execution.
*/
+ up_ledoff(LED_SIGNAL);
up_fullcontextrestore(regs);
}