Skip to content

Commit eb09e42

Browse files
committed
fix(eppp): Fixed strict prototype API decl issue in SDIO
1 parent d7eaa77 commit eb09e42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/eppp_link/eppp_sdio_host.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ esp_err_t eppp_sdio_host_rx(esp_netif_t *netif)
168168
return ESP_OK;
169169
}
170170

171-
void eppp_sdio_host_deinit()
171+
void eppp_sdio_host_deinit(void)
172172
{
173173
essl_sdio_deinit_dev(s_essl);
174174
sdmmc_host_deinit();
@@ -189,11 +189,11 @@ esp_err_t eppp_sdio_host_rx(esp_netif_t *netif)
189189
return ESP_ERR_NOT_SUPPORTED;
190190
}
191191

192-
void eppp_sdio_host_deinit()
192+
void eppp_sdio_host_deinit(void)
193193
{
194194
}
195195

196-
esp_err_t eppp_sdio_host_init()
196+
esp_err_t eppp_sdio_host_init(struct eppp_config_sdio_s *config)
197197
{
198198
return ESP_ERR_NOT_SUPPORTED;
199199
}

components/eppp_link/eppp_sdio_slave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ esp_err_t eppp_sdio_slave_rx(esp_netif_t *netif)
162162
return ESP_ERR_NOT_SUPPORTED;
163163
}
164164

165-
void eppp_sdio_slave_deinit()
165+
void eppp_sdio_slave_deinit(void)
166166
{
167167
}
168168

0 commit comments

Comments
 (0)