Skip to content

Commit 9c4ca36

Browse files
restyled-commitstennessee-google
authored andcommitted
Restyled by clang-format
1 parent a9c5842 commit 9c4ca36

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/app/clusters/general-diagnostics-server/general-diagnostics-server.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ CHIP_ERROR GeneralDiagosticsAttrAccess::Read(const ConcreteReadAttributePath & a
215215
bool isTestEventTriggersEnabled = IsTestEventTriggerEnabled();
216216
return aEncoder.Encode(isTestEventTriggersEnabled);
217217
}
218-
// Note: Attribute ID 0x0009 was removed (#30002).
218+
// Note: Attribute ID 0x0009 was removed (#30002).
219219

220220
case FeatureMap::Id: {
221221
uint32_t features = 0;
@@ -448,8 +448,9 @@ bool emberAfGeneralDiagnosticsClusterTimeSnapshotCallback(CommandHandler * comma
448448
return true;
449449
}
450450

451-
bool emberAfGeneralDiagnosticsClusterPayloadTestRequestCallback(CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
452-
const Commands::PayloadTestRequest::DecodableType & commandData)
451+
bool emberAfGeneralDiagnosticsClusterPayloadTestRequestCallback(CommandHandler * commandObj,
452+
const ConcreteCommandPath & commandPath,
453+
const Commands::PayloadTestRequest::DecodableType & commandData)
453454
{
454455
// Max allowed is 2048.
455456
if (commandData.count > 2048)
@@ -475,7 +476,7 @@ bool emberAfGeneralDiagnosticsClusterPayloadTestRequestCallback(CommandHandler *
475476
}
476477

477478
memset(payload.Get(), commandData.value, payload.AllocatedSize());
478-
response.payload = ByteSpan{payload.Get(), payload.AllocatedSize()};
479+
response.payload = ByteSpan{ payload.Get(), payload.AllocatedSize() };
479480

480481
if (commandObj->AddResponseData(commandPath, response) != CHIP_NO_ERROR)
481482
{

0 commit comments

Comments
 (0)