Skip to content

Commit

Permalink
ifdef some stray event lists
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Aug 23, 2024
1 parent 36c6205 commit 38b7cbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/clusters/mode-base-server/mode-base-cluster-objects.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ namespace AcceptedCommandList {
static constexpr AttributeId Id = Globals::Attributes::AcceptedCommandList::Id;
} // namespace AcceptedCommandList

#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
namespace EventList {
static constexpr AttributeId Id = Globals::Attributes::EventList::Id;
} // namespace EventList
#endif

namespace AttributeList {
static constexpr AttributeId Id = Globals::Attributes::AttributeList::Id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,15 @@ struct TypeInfo : public Clusters::Globals::Attributes::AcceptedCommandList::Typ
};
} // namespace AcceptedCommandList

#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
namespace EventList {
static constexpr AttributeId Id = Globals::Attributes::EventList::Id;

struct TypeInfo : public Clusters::Globals::Attributes::EventList::TypeInfo
{
};
} // namespace EventList
#endif

namespace AttributeList {
static constexpr AttributeId Id = Globals::Attributes::AttributeList::Id;
Expand Down

0 comments on commit 38b7cbd

Please sign in to comment.