summaryrefslogtreecommitdiff
path: root/nuttx/sched/irq_attach.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-04 20:49:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-04 20:49:47 +0000
commit99a753f17a5f82ae34fbbbc564757bb99666afbd (patch)
treee5ab1ef913b7324c1e05d2a6a7a37171f24e2af5 /nuttx/sched/irq_attach.c
parent10b9a1fa0c8d68bb7f2c6fac7176669052831401 (diff)
downloadpx4-nuttx-99a753f17a5f82ae34fbbbc564757bb99666afbd.tar.gz
px4-nuttx-99a753f17a5f82ae34fbbbc564757bb99666afbd.tar.bz2
px4-nuttx-99a753f17a5f82ae34fbbbc564757bb99666afbd.zip
Fix buffer full test in generic CAN driver (plus fixes to comments)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4259 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/irq_attach.c')
-rw-r--r--nuttx/sched/irq_attach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/irq_attach.c b/nuttx/sched/irq_attach.c
index 99fb62078..07ded0629 100644
--- a/nuttx/sched/irq_attach.c
+++ b/nuttx/sched/irq_attach.c
@@ -94,9 +94,9 @@ int irq_attach(int irq, xcpt_t isr)
/* Disable the interrupt if we can before detaching it. We might
* not be able to do this if: (1) the device does not have a
* centralized interrupt controller (so up_disable_irq() is not
- * supported. Or (2) if the device has different number for vector
+ * supported). Or (2) if the device has different number for vector
* numbers and IRQ numbers (in that case, we don't know the correct
- * IRQ number to use to disable the interrupt. In those cases, the
+ * IRQ number to use to disable the interrupt). In those cases, the
* code will just need to be careful that it disables all interrupt
* sources before detaching from the interrupt vector.
*/