Skip to content

Commit 1472d1e

Browse files
committed
ifdef some stray event lists
1 parent f001574 commit 1472d1e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/app/clusters/mode-base-server/mode-base-cluster-objects.h

+2
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ namespace AcceptedCommandList {
9090
static constexpr AttributeId Id = Globals::Attributes::AcceptedCommandList::Id;
9191
} // namespace AcceptedCommandList
9292

93+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
9394
namespace EventList {
9495
static constexpr AttributeId Id = Globals::Attributes::EventList::Id;
9596
} // namespace EventList
97+
#endif
9698

9799
namespace AttributeList {
98100
static constexpr AttributeId Id = Globals::Attributes::AttributeList::Id;

src/app/clusters/resource-monitoring-server/resource-monitoring-cluster-objects.h

+2
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,15 @@ struct TypeInfo : public Clusters::Globals::Attributes::AcceptedCommandList::Typ
229229
};
230230
} // namespace AcceptedCommandList
231231

232+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
232233
namespace EventList {
233234
static constexpr AttributeId Id = Globals::Attributes::EventList::Id;
234235

235236
struct TypeInfo : public Clusters::Globals::Attributes::EventList::TypeInfo
236237
{
237238
};
238239
} // namespace EventList
240+
#endif
239241

240242
namespace AttributeList {
241243
static constexpr AttributeId Id = Globals::Attributes::AttributeList::Id;

0 commit comments

Comments
 (0)