Skip to content

Commit

Permalink
Remove the konOff feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eahove committed Jan 16, 2024
1 parent c4f7024 commit 7fe8c55
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ void emberAfOvenModeClusterInitCallback(chip::EndpointId endpointId)
VerifyOrDie(endpointId == 1); // this cluster is only enabled for endpoint 1.
VerifyOrDie(gOvenModeDelegate == nullptr && gOvenModeInstance == nullptr);
gOvenModeDelegate = new OvenMode::OvenModeDelegate;
gOvenModeInstance =
new ModeBase::Instance(gOvenModeDelegate, 0x1, OvenMode::Id, chip::to_underlying(OvenMode::Feature::kOnOff));
gOvenModeInstance = new ModeBase::Instance(gOvenModeDelegate, 0x1, OvenMode::Id, 0x0);
gOvenModeInstance->Init();
}

0 comments on commit 7fe8c55

Please sign in to comment.