Merge branch 'contrib/github_pr_10237' into 'master'

[ENC28J60] clear EIE INTIE instead of non-existent EIR INTIE (GitHub PR)

Closes IDFGH-8806

See merge request espressif/esp-idf!21216
pull/8689/merge
Ondrej Kosta 2022-11-25 19:52:14 +08:00
commit 48a6f11f5c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -728,7 +728,7 @@ loop_start:
continue; // -> just continue to check again continue; // -> just continue to check again
} }
// the host controller should clear the global enable bit for the interrupt pin before servicing the interrupt // the host controller should clear the global enable bit for the interrupt pin before servicing the interrupt
MAC_CHECK_NO_RET(enc28j60_do_bitwise_clr(emac, ENC28J60_EIR, EIE_INTIE) == ESP_OK, MAC_CHECK_NO_RET(enc28j60_do_bitwise_clr(emac, ENC28J60_EIE, EIE_INTIE) == ESP_OK,
"clear EIE_INTIE failed", loop_start); "clear EIE_INTIE failed", loop_start);
// read interrupt status // read interrupt status
MAC_CHECK_NO_RET(enc28j60_do_register_read(emac, true, ENC28J60_EIR, &status) == ESP_OK, MAC_CHECK_NO_RET(enc28j60_do_register_read(emac, true, ENC28J60_EIR, &status) == ESP_OK,