Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and liangpy4 committed Dec 8, 2023
1 parent 569d089 commit bc5f868
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ void Instance::HandleSetCookingParameters(HandlerContext & ctx, const Commands::
ChipLogError(Zcl, "Microwave Oven Control: Failed to set cooking parameters, all command fields are missing "));

reqCookMode = cookMode.ValueOr(to_underlying(MicrowaveOvenMode::ModeTag::kNormal) - kDerivedModeTag);
VerifyOrExit(mMicrowaveOvenModeInstance.IsSupportedMode(reqCookMode),
status = Status::InvalidCommand;
VerifyOrExit(mMicrowaveOvenModeInstance.IsSupportedMode(reqCookMode), status = Status::InvalidCommand;
ChipLogError(Zcl, "Microwave Oven Control: Failed to set cookMode, cookMode is not supported"));

reqCookTime = cookTime.ValueOr(MicrowaveOvenControl::kDefaultCookTime);
Expand Down

0 comments on commit bc5f868

Please sign in to comment.