Skip to content

Commit

Permalink
Added comment to explicitely state the sharing of the key for the Gro…
Browse files Browse the repository at this point in the history
…upFabricList in memory
  • Loading branch information
lpbeliveau-silabs authored and pull[bot] committed Nov 13, 2023
1 parent 053431f commit 8bdcb55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/clusters/scenes/SceneTableImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ using SceneData = DefaultSceneTableImpl::SceneData;

struct FabricHavingSceneList : public CommonPersistentData::FabricList
{
// This implementation uses the same key as the GroupFabricList from GroupDataProviderImpl to avoid duplicating the list in
// memory. If a different GroupDataProvider implementation is used, it will create the list in flash memory.
CHIP_ERROR UpdateKey(StorageKeyName & key) override
{
key = DefaultStorageKeyAllocator::GroupFabricList();
Expand Down

0 comments on commit 8bdcb55

Please sign in to comment.