idf rebase changes needed to compile again

This commit is contained in:
2021-12-02 13:24:29 +01:00
parent 94ce37c6ba
commit a4060d24e6

View File

@ -141,7 +141,7 @@ tcpip_adapter_if_t UdpPacketWrapper::tcpIpAdapter() const
{
tcpip_adapter_if_t tcpip_if = tcpip_adapter_if_t(i);
struct netif *nif{};
if (const auto result = tcpip_adapter_get_netif(tcpip_if, &nif); result != ESP_OK)
if (const auto result = tcpip_adapter_get_netif(tcpip_if, (void**)&nif); result != ESP_OK)
{
ESP_LOGW(TAG, "tcpip_adapter_get_netif() failed with %s", esp_err_to_name(result));
continue;