Skip to content

Commit

Permalink
fix all-clusters breakage on esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
soares-sergio committed Oct 30, 2024
1 parent 4143090 commit b63a9d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ static std::unique_ptr<EnergyEvseDelegate> gDelegate;
static std::unique_ptr<EvseTargetsDelegate> gEvseTargetsDelegate;
static std::unique_ptr<EnergyEvseManager> gInstance;

EndpointId GetEnergyDeviceEndpointId()
{
return chip::EndpointId(1);
}

void emberAfEnergyEvseClusterInitCallback(chip::EndpointId endpointId)
{
VerifyOrDie(endpointId == 1); // this cluster is only enabled for endpoint 1.
Expand Down
5 changes: 0 additions & 5 deletions examples/all-clusters-app/linux/main-common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,6 @@ const Clusters::Descriptor::Structs::SemanticTagStruct::Type gEp4TagList[] = { {
extern void MatterDishwasherAlarmServerInit();
#endif

EndpointId GetEnergyDeviceEndpointId()
{
return chip::EndpointId(1);
}

void OnIdentifyStart(::Identify *)
{
ChipLogProgress(Zcl, "OnIdentifyStart");
Expand Down

0 comments on commit b63a9d0

Please sign in to comment.