Skip to content

Commit

Permalink
[Fabric-Sync] Fix subscription for non-ICD devices
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq committed Dec 11, 2024
1 parent 2c11741 commit a2cbb1a
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 a2cbb1a

Please sign in to comment.