Search found 2 matches

by CTRL_CAIN
Sat Mar 25, 2017 11:24 pm
Forum: ESP-IDF
Topic: Platformio issue
Replies: 8
Views: 21520

Re: Platformio issue

Im getting the same error when configuring wifi for SOFTAP. Any clue whats going on or a work around. c source. Thanks.
by CTRL_CAIN
Sat Mar 25, 2017 11:22 pm
Forum: ESP-IDF
Topic: Platformio issue
Replies: 8
Views: 21520

Re: Platformio issue

I've seen that error C99 designator 'ssid' outside aggregate initializer at line ...
When I try to compile the c code in a cpp file.

You can't initialize a struct in c++ like this:
wifi_config_t wifi_config = {
.sta = {
.ssid = EXAMPLE_WIFI_SSID,
},
};
It should generate an error.

Are you ...

Go to advanced search