Skip to content

Commit

Permalink
fix(lan867x): fixed datatype of lan867x_custom_ioctl
Browse files Browse the repository at this point in the history
  • Loading branch information
kostaond committed Sep 17, 2024
1 parent adbd8dc commit 6951ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lan867x/src/esp_eth_phy_lan867x.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static esp_err_t lan867x_set_duplex(esp_eth_phy_t *phy, eth_duplex_t duplex)
return ESP_ERR_NOT_SUPPORTED;
}

static esp_err_t lan867x_custom_ioctl(esp_eth_phy_t *phy, uint32_t cmd, void *data)
static esp_err_t lan867x_custom_ioctl(esp_eth_phy_t *phy, int cmd, void *data)
{
esp_err_t ret;
phy_802_3_t *phy_802_3 = esp_eth_phy_into_phy_802_3(phy);
Expand Down

0 comments on commit 6951ccd

Please sign in to comment.