Skip to content

Commit

Permalink
Remove the konOff feature (#31462)
Browse files Browse the repository at this point in the history
  • Loading branch information
eahove authored and pull[bot] committed Apr 9, 2024
1 parent b280685 commit 72c807f
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 72c807f

Please sign in to comment.