dct.c

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MuOr_1658816
Level 4
Level 4
First like received

In the dct.c, I had to change the line 20 from

#include "wifi_config_dct.h"

to

#include WICED_WIFI_CONFIG_DCT_H

To allow WIFI_CONFIG_DCT_H in the makefile. Am i missing something?

0 Likes
3 Replies
Anonymous
Not applicable

Our latest version of dct.c does this:

#ifdef WIFI_CONFIG_APPLICATION_DEFINED

#include "wifi_config_dct.h"

#else/* #ifdef WIFI_CONFIG_APPLICATION_DEFINED */

#include "default_wifi_config_dct.h"

#endif /* #ifdef WIFI_CONFIG_APPLICATION_DEFINED */

0 Likes

I am fully aware of what the current one does. However, if the is kept as default, it doesn't respect the location of the wifi_config_dct.h that could be defined in the make file.

0 Likes
Anonymous
Not applicable

The location of the file is irrelevant if your makefile adds the containing directory to the GLOBAL_INCLUDES variable

0 Likes