issue code:
Code: Select all
esp_netif_t *ap_netif;
....
ap_netif = esp_netif_create_default_wifi_ap();
ap_netif->if_desc = "wlan"; // <- here i have error : "invalid use of incomplete type 'esp_netif_t' {aka 'struct esp_netif_obj'}"
esp_netif_new() - system function that returns pointer and if i try to set if_desc - i get error "invalid use of incomplete type 'esp_netif_t' {aka 'struct esp_netif_obj'}"