From 1a3d3b08191858aebef7161393af387f9e677117 Mon Sep 17 00:00:00 2001 From: Ondrej Kosta Date: Tue, 17 Sep 2024 14:19:35 +0200 Subject: [PATCH] fix(lan867x): fixed datatype of lan867x_custom_ioctl --- lan867x/idf_component.yml | 2 +- lan867x/src/esp_eth_phy_lan867x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lan867x/idf_component.yml b/lan867x/idf_component.yml index 24c8707..b83fc47 100644 --- a/lan867x/idf_component.yml +++ b/lan867x/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" targets: - esp32 - esp32p4 diff --git a/lan867x/src/esp_eth_phy_lan867x.c b/lan867x/src/esp_eth_phy_lan867x.c index 181d9ae..b6550eb 100644 --- a/lan867x/src/esp_eth_phy_lan867x.c +++ b/lan867x/src/esp_eth_phy_lan867x.c @@ -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);