mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
xtensa/esp32: Fix wrong interrupt number
Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
63782c7ff2
commit
277ca97b44
@@ -1793,7 +1793,9 @@ static int emac_ifdown(struct net_driver_s *dev)
|
||||
|
||||
emac_reset_regbits(EMAC_CR_OFFSET, EMAC_TX_E | EMAC_RX_E);
|
||||
|
||||
up_disable_irq(priv->cpuint);
|
||||
/* Disable the Ethernet interrupt */
|
||||
|
||||
up_disable_irq(ESP32_IRQ_EMAC);
|
||||
|
||||
/* Cancel the TX timeout timers */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user