diff --git a/examples/chef/common/chef-fan-control-manager.cpp b/examples/chef/common/chef-fan-control-manager.cpp index a33476328be564..2c42c312b84ed1 100644 --- a/examples/chef/common/chef-fan-control-manager.cpp +++ b/examples/chef/common/chef-fan-control-manager.cpp @@ -95,7 +95,7 @@ Status ChefFanControlManager::HandleStep(StepDirectionEnum aDirection, bool aWra VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, Status::InvalidCommand); uint8_t newSpeedSetting; - uint8_t speedValue = speedSetting.ValueOr(speedCurrent); + uint8_t speedValue = speedSetting.ValueOr(speedCurrent); const uint8_t kLowestSpeed = aLowestOff ? 0 : 1; if (aDirection == StepDirectionEnum::kIncrease)