esp_eth_mac_openeth.c: Fix issue created by generic check macros update

Merges https://github.com/espressif/esp-idf/pull/6936
This commit is contained in:
Jon Shallow 2021-04-25 15:23:59 +00:00 committed by bot
parent e77a91df7f
commit 154ad2e0e1

View File

@ -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;