Skip to content

Commit

Permalink
Add missing VerifyOrDie()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgraf committed Jul 24, 2023
1 parent a4ca940 commit caa0a2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void emberAfActivatedCarbonFilterMonitoringClusterInitCallback(chip::EndpointId
}
void emberAfHepaFilterMonitoringClusterInitCallback(chip::EndpointId endpoint)
{
VerifyOrDie(gHepaFilterInstance == nullptr);
gHepaFilterInstance = new HepaFilterMonitoringInstance(endpoint, static_cast<uint32_t>(gHepaFilterFeatureMap.to_ulong()),
DegradationDirectionEnum::kDown, true);
gHepaFilterInstance->Init();
Expand Down

0 comments on commit caa0a2e

Please sign in to comment.