esp32c3: Fix WiFi adapter to use WMAC instead of MAC_NMI
This commit is contained in:
parent
e950e53df2
commit
c12a60cb5a
@ -979,7 +979,7 @@ static void esp32c3_ints_on(uint32_t mask)
|
|||||||
|
|
||||||
wlinfo("INFO mask=%08lx irq=%d\n", mask, n);
|
wlinfo("INFO mask=%08lx irq=%d\n", mask, n);
|
||||||
|
|
||||||
up_enable_irq(ESP32C3_IRQ_MAC_NMI);
|
up_enable_irq(ESP32C3_IRQ_WMAC);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -1002,7 +1002,7 @@ static void esp32c3_ints_off(uint32_t mask)
|
|||||||
|
|
||||||
wlinfo("INFO mask=%08lx irq=%d\n", mask, n);
|
wlinfo("INFO mask=%08lx irq=%d\n", mask, n);
|
||||||
|
|
||||||
up_disable_irq(ESP32C3_IRQ_MAC_NMI);
|
up_disable_irq(ESP32C3_IRQ_WMAC);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user