[solved] problem with WIFI_INIT_CONFIG_DEFAULT()
Posted: Thu Mar 30, 2017 9:07 am
Hi all,
I am new on esp chips and I am trying the examples in esp-idf.
when i build the wifi sample code in eclipse ,
If shows the error
When I move the mouse to WIFI_INIT_CONFIG_DEFAULT(), it pop up syntax error, if I press ctrl and click on it, it still can go to the esp_wifi.h header file. Although it still can compile but the error message is annoying, Any one can help on this , thanks.
I am new on esp chips and I am trying the examples in esp-idf.
when i build the wifi sample code in eclipse ,
Code: Select all
wifi_init_config_t wifi_init_config = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&wifi_init_config));
......I have already included the esp_wifi.h, the code can be built and flash to the chip and function.Symbol 'wifi_init_config' could not be resolved
When I move the mouse to WIFI_INIT_CONFIG_DEFAULT(), it pop up syntax error, if I press ctrl and click on it, it still can go to the esp_wifi.h header file. Although it still can compile but the error message is annoying, Any one can help on this , thanks.