From bc5f868c0b5740008cced9ff388d8f4723619e7a Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 8 Dec 2023 07:52:08 +0000 Subject: [PATCH] Restyled by clang-format --- .../microwave-oven-control-server.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp b/src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp index b6db0f48a2bcfc..d231865e67d2f5 100644 --- a/src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp +++ b/src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp @@ -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);