PlatformIO Linter Error but then it compiles
Posted: Tue Sep 04, 2018 9:24 pm
Good evening everyone,
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":
But then the compiler magically ends with no error whatsoever. May anyone tell me what's happening?
Thanks a lot,
Regards.
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.