Skip to content

Commit 6ed465f

Browse files
committed
Direct include of endpoint_config in attribute-storage.h
1 parent 6c070cc commit 6ed465f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/util/attribute-storage.h

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
#include <app-common/zap-generated/attribute-type.h>
2929
#include <app-common/zap-generated/cluster-objects.h>
3030

31+
// NOTE: direct include here even though app/util/config.h is the public header,
32+
// because MAX_ENDPOINT_COUNT needs FIXED_ENDPOINT_COUNT definitions.
33+
#include <zap-generated/endpoint_config.h>
34+
3135
static constexpr uint16_t kEmberInvalidEndpointIndex = 0xFFFF;
3236

3337
// If we have fixed number of endpoints, then max is the same.

0 commit comments

Comments
 (0)