Skip to content

Commit

Permalink
Update esp_eth_mac_w5500.c
Browse files Browse the repository at this point in the history
  • Loading branch information
reinismu committed Jan 17, 2023
1 parent b8bd9cc commit c4599cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/esp_eth/src/esp_eth_mac_w5500.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ static esp_err_t w5500_verify_id(emac_w5500_t *emac)
uint8_t version = 0;
ESP_GOTO_ON_ERROR(w5500_read(emac, W5500_REG_VERSIONR, &version, sizeof(version)), err, TAG, "read VERSIONR failed");
// W5500 doesn't have chip ID, we check the version number instead

ESP_GOTO_ON_FALSE(version == W5500_CHIP_VERSION, ESP_ERR_INVALID_VERSION, err, TAG, "invalid chip version, expected 0x%x, actual 0x%x", W5500_CHIP_VERSION, version);

err:
Expand Down

0 comments on commit c4599cc

Please sign in to comment.