Skip to content

Commit

Permalink
Merge branch 'contrib/github_pr_10237' into 'master'
Browse files Browse the repository at this point in the history
[ENC28J60] clear EIE INTIE instead of non-existent EIR INTIE (GitHub PR)

Closes IDFGH-8806

See merge request espressif/esp-idf!21216
  • Loading branch information
kostaond committed Nov 25, 2022
2 parents 6b1d0f9 + 6168622 commit 48a6f11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ static void emac_enc28j60_task(void *arg)
continue; // -> just continue to check again
}
// 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);
// read interrupt status
MAC_CHECK_NO_RET(enc28j60_do_register_read(emac, true, ENC28J60_EIR, &status) == ESP_OK,
Expand Down

0 comments on commit 48a6f11

Please sign in to comment.