Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[attribute storage] fix inclusion order to apply platform defs early
- before, af-types.h got included before platform specific global defines in particular CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT were (re)defined via CHIPDeviceLayer.h - this produced inconsistent value for CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT, between af-types.h and attribute-storage.cpp - the problem surfaced on Darwin because it does force CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT to be >=1 in all cases in `src/platform/Darwin/CHIPDevicePlatformConfig.h`
- Loading branch information