Skip to content

Commit

Permalink
Fix typo on init
Browse files Browse the repository at this point in the history
  • Loading branch information
soares-sergio committed Oct 29, 2024
1 parent 1371752 commit 4143090
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,10 @@ CHIP_ERROR EnergyManagementCommonClustersInit(chip::EndpointId endpointId)
ElectricalPowerMeasurementInit(endpointId);
PowerTopologyInit(endpointId);
}
VerifyOrReturnError((!gDEMDelegate && !gDEMInstance), CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError((!gEPMDelegate && !gEPMInstance), CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError((!gPTDelegate && !gPTInstance), CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError((!gEEMAttrAccess), CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(gDEMDelegate && gDEMInstance, CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(gEPMDelegate && gEPMInstance, CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(gPTDelegate && gPTInstance, CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(gEEMAttrAccess, CHIP_ERROR_INCORRECT_STATE);
gCommonClustersInitialized = true;
return CHIP_NO_ERROR;
}
Expand Down

0 comments on commit 4143090

Please sign in to comment.