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 markus-becker-tridonic-com committed Dec 12, 2024
1 parent 8bcd2b4 commit 97de7ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ void MatterSampleExternalMeiPluginServerInitCallback()
ChipLogProgress(Zcl, "Sample MEI Init. Ep %d, Total Ep %u", MATTER_DM_SAMPLE_EXTERNAL_MEI_CLUSTER_SERVER_ENDPOINT_COUNT,
static_cast<uint16_t>(kNumSupportedEndpoints));
ReturnOnFailure(CommandHandlerInterfaceRegistry::Instance().RegisterCommandHandler(&SampleExternalMeiServer::Instance()));
VerifyOrReturn(AttributeAccessInterfaceRegistry::Instance().Register(&SampleExternalMeiServer::Instance()), CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturn(AttributeAccessInterfaceRegistry::Instance().Register(&SampleExternalMeiServer::Instance()),
CHIP_ERROR_INCORRECT_STATE);
}

void emberAfSampleExternalMeiClusterServerInitCallback(chip::EndpointId endpoint)
Expand Down Expand Up @@ -89,7 +90,7 @@ void SampleExternalMeiServer::InvokeCommand(HandlerContext & ctxt)
ChipLogProgress(Zcl, "Ping Command on Ep %d", endpoint);
// NOTE: fabricIndex did not get created by zap, thus I've removed isFabricSensitive="true" in the XML
// Events::PingCountEvent::Type event{ .count = content[endpointIndex].pingCount++, .fabricIndex = fabricIndex };
Events::PingCountEvent::Type event{ .count = content[endpointIndex].pingCount++};
Events::PingCountEvent::Type event{ .count = content[endpointIndex].pingCount++ };
chip::EventNumber placeholderEventNumber;
CHIP_ERROR err = LogEvent(event, endpoint, placeholderEventNumber);
if (CHIP_NO_ERROR != err)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97de7ee

Please sign in to comment.