mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
LM3S Ethernet: Fix interrupt work in the last big commit.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user