mirror of
https://github.com/apache/nuttx.git
synced 2026-09-05 00:13:17 +00:00
LM3S Ethernet: Fix interrupt work in the last big commit.
This commit is contained in:
parent
6c6d649b7c
commit
add2fbfa85
1 changed files with 2 additions and 2 deletions
|
|
@ -1029,9 +1029,9 @@ static void tiva_interrupt_work(void *arg)
|
|||
/* Re-enable Ethernet interrupts */
|
||||
|
||||
#if TIVA_NETHCONTROLLERS > 1
|
||||
up_disable_irq(priv->irq);
|
||||
up_enable_irq(priv->irq);
|
||||
#else
|
||||
up_disable_irq(TIVA_IRQ_ETHCON);
|
||||
up_enable_irq(TIVA_IRQ_ETHCON);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue