esp32c3: Fix WiFi adapter to use WMAC instead of MAC_NMI

This commit is contained in:
Alan Carvalho de Assis 2023-02-01 18:07:40 -03:00 committed by Xiang Xiao
parent e950e53df2
commit c12a60cb5a

View File

@ -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);
} }
/**************************************************************************** /****************************************************************************