I am running the several wi-fi examples for esp32 with platformIO on Atom (MAC). The so called "Linter" which from what I have understood is a sort of intellisense that seeks for errors in the code, tells me that I cannot do the following because "C99 designator is outside aggregate initializer":
Code: Select all
wifi_sta_config_t wifi_AP_conf = {.ssid = WIFI_SSID, .password = WIFI_PASS, };
wifi_config_t wifi_config = {
.sta = wifi_AP_conf,
};
Thanks a lot,
Regards.