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 5a89a35 commit 1a3d3b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lan867x/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.0.0"
version: "1.0.1"
targets:
- esp32
- esp32p4
Expand Down
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 1a3d3b0

Please sign in to comment.