From 154ad2e0e1b0ccdf111b8ac1489bc81ee7636d7c Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Sun, 25 Apr 2021 15:23:59 +0000 Subject: [PATCH] esp_eth_mac_openeth.c: Fix issue created by generic check macros update Merges https://github.com/espressif/esp-idf/pull/6936 --- components/esp_eth/src/esp_eth_mac_openeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_eth/src/esp_eth_mac_openeth.c b/components/esp_eth/src/esp_eth_mac_openeth.c index 3f6bdb215e..c6bc5010d3 100644 --- a/components/esp_eth/src/esp_eth_mac_openeth.c +++ b/components/esp_eth/src/esp_eth_mac_openeth.c @@ -398,7 +398,7 @@ esp_eth_mac_t *esp_eth_mac_new_openeth(const eth_mac_config_t *config) emac->parent.receive = emac_opencores_receive; // Initialize the interrupt - ESP_GOTO_ON_FALSE(esp_intr_alloc(OPENETH_INTR_SOURCE, ESP_INTR_FLAG_IRAM, emac_opencores_isr_handler, emac, &(emac->intr_hdl)), NULL, out, TAG, "alloc emac interrupt failed"); + ESP_GOTO_ON_FALSE(esp_intr_alloc(OPENETH_INTR_SOURCE, ESP_INTR_FLAG_IRAM, emac_opencores_isr_handler, emac, &(emac->intr_hdl)) == ESP_OK, NULL, out, TAG, "alloc emac interrupt failed"); // Create the RX task BaseType_t core_num = tskNO_AFFINITY;