Skip to content

Commit

Permalink
[Fabric-Sync] Fix subscription for non-ICD devices (#36799)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq authored Dec 11, 2024
1 parent b8628ca commit 41a9dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fabric-sync/admin/DeviceSynchronization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void DeviceSynchronizer::SynchronizationCompleteAddDevice()
bridge::FabricBridge::Instance().AddSynchronizedDevice(mCurrentDeviceData);

// TODO(#35077) Figure out how we should reflect CADMIN values of ICD.
if (!mCurrentDeviceData.isIcd)
if (!mCurrentDeviceData.isIcd.value_or(false))
{
VerifyOrDie(mController);
ScopedNodeId scopedNodeId(mNodeId, mController->GetFabricIndex());
Expand Down

0 comments on commit 41a9dea

Please sign in to comment.