diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-06 01:54:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-06 01:54:11 +0000 |
commit | 81597afb0f0c3ea5912387db506f86d2989b2ad2 (patch) | |
tree | 2f194e11c1167456abc1c7779009b800eebab1ee /nuttx/sched | |
parent | 3f38e3b45ef0d6f4290b9ad7166481e31a73269c (diff) | |
download | px4-nuttx-81597afb0f0c3ea5912387db506f86d2989b2ad2.tar.gz px4-nuttx-81597afb0f0c3ea5912387db506f86d2989b2ad2.tar.bz2 px4-nuttx-81597afb0f0c3ea5912387db506f86d2989b2ad2.zip |
Need to set UART interrupt priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1854 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/irq_unexpectedisr.c | 8 | ||||
-rw-r--r-- | nuttx/sched/os_start.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/sched/irq_unexpectedisr.c b/nuttx/sched/irq_unexpectedisr.c index f0427e39f..272e5d3ea 100644 --- a/nuttx/sched/irq_unexpectedisr.c +++ b/nuttx/sched/irq_unexpectedisr.c @@ -1,7 +1,7 @@ /**************************************************************************** * sched/irq_unexpectedisr.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> * * Redistribution and use in source and binary forms, with or without @@ -39,6 +39,7 @@ #include <sys/types.h> #include <nuttx/irq.h> +#include <debug.h> #include "os_internal.h" #include "irq_internal.h" @@ -78,6 +79,7 @@ int irq_unexpected_isr(int irq, FAR void *context) { (void)irqsave(); - PANIC(OSERR_UNEXPECTEDISR); - return 0; + lldbg("irq: %d\n", irq); + PANIC(OSERR_UNEXPECTEDISR); + return OK; /* Won't get here */ } diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index b883424c5..8e036a9f9 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -1,7 +1,7 @@ /**************************************************************************** * sched/os_start.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> * * Redistribution and use in source and binary forms, with or without |