Skip to content

Commit

Permalink
Fix include order
Browse files Browse the repository at this point in the history
Move `CHIPConfig.h` after `CHIP_DEVICE_PROJECT_CONFIG_INCLUDE` as it
defines default configuration values that may be overriden by project
specific config.

Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 12, 2025
1 parent 440d68c commit 0027217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/platform/CHIPDeviceConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include <platform/CHIPDeviceBuildConfig.h>
#endif

#include <lib/core/CHIPConfig.h>

/* Include a project-specific configuration file, if defined.
*
* An application or module that incorporates the chip Device Layer can define a project
Expand All @@ -41,6 +39,8 @@
#include CHIP_DEVICE_PROJECT_CONFIG_INCLUDE
#endif

#include <lib/core/CHIPConfig.h>

/* Include a platform-specific configuration file, if defined.
*
* A platform configuration file contains overrides to standard chip Device Layer
Expand Down

0 comments on commit 0027217

Please sign in to comment.