Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed Jan 20, 2022
1 parent a8f9798 commit 86ae34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16363,7 +16363,7 @@
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
Expand Down
3 changes: 1 addition & 2 deletions src/app/clusters/test-cluster-server/test-cluster-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ CHIP_ERROR TestAttrAccess::WriteStructAttribute(AttributeValueDecoder & aDecoder
CHIP_ERROR TestAttrAccess::ReadListFabricScopedAttribute(AttributeValueEncoder & aEncoder)
{
return aEncoder.EncodeList([](const auto & encoder) -> CHIP_ERROR {
// Just encode our one struct for now.
auto fabricTable = Server::GetInstance().GetFabricTable();

chip::app::Clusters::TestCluster::Structs::TestFabricScoped::Type val;
Expand All @@ -424,7 +423,7 @@ CHIP_ERROR TestAttrAccess::ReadListFabricScopedAttribute(AttributeValueEncoder &
}

// Always append a fake fabric index so we can test fabric filter even when there is only one fabric provisioned.
val.fabricIndex = 0xFF;
val.fabricIndex = kUndefinedFabricIndex;
ReturnErrorOnFailure(encoder.Encode(val));
return CHIP_NO_ERROR;
});
Expand Down

0 comments on commit 86ae34c

Please sign in to comment.