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 tehampson committed Aug 19, 2024
1 parent 6aa91f7 commit e9013ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ CHIP_ERROR BridgedAdministratorCommissioning::Init()
// the existing AccessAttributeInterface for AdministratorCommissioning and register ourselves, ensuring
// we get the callback for reading attribute. If the read is not intended for a bridged device we will
// forward it to the original attribute interface that we are unregistering.
mOriginalAttributeInterface = AttributeAccessInterfaceRegistry::Instance().Get(chip::kRootEndpointId, AdministratorCommissioning::Id);
mOriginalAttributeInterface =
AttributeAccessInterfaceRegistry::Instance().Get(chip::kRootEndpointId, AdministratorCommissioning::Id);
VerifyOrReturnError(mOriginalAttributeInterface, CHIP_ERROR_INTERNAL);
AttributeAccessInterfaceRegistry::Instance().Unregister(mOriginalAttributeInterface);
VerifyOrDie(AttributeAccessInterfaceRegistry::Instance().Register(this));
Expand Down

0 comments on commit e9013ae

Please sign in to comment.