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 committed Dec 13, 2021
1 parent c3c6487 commit bfcd273
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static bool HasFeature(chip::EndpointId endpoint, Features feature)
chip::app::Clusters::WindowCovering::Attributes::FeatureMap::Id,
reinterpret_cast<uint8_t *>(&FeatureMap), sizeof(FeatureMap)))
{
return ((uint32_t)FeatureMap & (uint32_t)chip::to_underlying(feature)) != 0;
return ((uint32_t) FeatureMap & (uint32_t) chip::to_underlying(feature)) != 0;
}

return false;
Expand Down Expand Up @@ -464,7 +464,7 @@ emberAfWindowCoveringClusterStopMotionCallback(app::CommandHandler * commandObj,
const Commands::StopMotion::DecodableType & fields)
{
emberAfWindowCoveringClusterPrint("StopMotion command received");
uint16_t current = 0;
uint16_t current = 0;
chip::EndpointId endpoint = commandPath.mEndpointId;

if (HasFeature(endpoint, Features::Lift) && HasFeature(endpoint, Features::PositionAwareLift))
Expand Down

0 comments on commit bfcd273

Please sign in to comment.