Skip to content
Snippets Groups Projects
Commit 5d76e176 authored by patacongo's avatar patacongo
Browse files

Can't use if up_disable_irq if there is not interrupt controller

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1174 42af7a65-404d-4744-a932-0658087f49c3
parent 2f540a8e
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,9 @@ int irq_attach(int irq, xcpt_t isr)
state = irqsave();
if (isr == NULL)
{
#ifndef CONFIG_ARCH_NOINTC
up_disable_irq(irq);
#endif
isr = irq_unexpected_isr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment