File tree 1 file changed +5
-4
lines changed
src/app/clusters/general-diagnostics-server
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ CHIP_ERROR GeneralDiagosticsAttrAccess::Read(const ConcreteReadAttributePath & a
215
215
bool isTestEventTriggersEnabled = IsTestEventTriggerEnabled ();
216
216
return aEncoder.Encode (isTestEventTriggersEnabled);
217
217
}
218
- // Note: Attribute ID 0x0009 was removed (#30002).
218
+ // Note: Attribute ID 0x0009 was removed (#30002).
219
219
220
220
case FeatureMap::Id: {
221
221
uint32_t features = 0 ;
@@ -448,8 +448,9 @@ bool emberAfGeneralDiagnosticsClusterTimeSnapshotCallback(CommandHandler * comma
448
448
return true ;
449
449
}
450
450
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)
453
454
{
454
455
// Max allowed is 2048.
455
456
if (commandData.count > 2048 )
@@ -475,7 +476,7 @@ bool emberAfGeneralDiagnosticsClusterPayloadTestRequestCallback(CommandHandler *
475
476
}
476
477
477
478
memset (payload.Get (), commandData.value , payload.AllocatedSize ());
478
- response.payload = ByteSpan{payload.Get (), payload.AllocatedSize ()};
479
+ response.payload = ByteSpan{ payload.Get (), payload.AllocatedSize () };
479
480
480
481
if (commandObj->AddResponseData (commandPath, response) != CHIP_NO_ERROR)
481
482
{
You can’t perform that action at this time.
0 commit comments