@@ -567,8 +567,6 @@ void ContentAppFactoryImpl::AddAdminVendorId(uint16_t vendorId)
567
567
mAdminVendorIds .push_back (vendorId);
568
568
}
569
569
570
-
571
-
572
570
class DevicePairedCommand : public Controller ::DevicePairingDelegate
573
571
{
574
572
public:
@@ -599,12 +597,12 @@ class DevicePairedCommand : public Controller::DevicePairingDelegate
599
597
" and vendor id: %d and product id: %d" ,
600
598
ChipLogValueX64 (cbContext->nodeId ), cbContext->vendorId , cbContext->productId );
601
599
602
- #if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
600
+ #if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
603
601
604
602
GetCommissionerDiscoveryController ()->CommissioningSucceeded (cbContext->vendorId , cbContext->productId ,
605
603
cbContext->nodeId , exchangeMgr, sessionHandle);
606
604
607
- #endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
605
+ #endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
608
606
}
609
607
}
610
608
@@ -692,7 +690,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
692
690
nodeIds.insert (tempNodeIds.begin (), tempNodeIds.end ());
693
691
}
694
692
}
695
- #if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
693
+ #if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
696
694
// refresh ACLs
697
695
for (const auto & nodeId : nodeIds)
698
696
{
@@ -706,7 +704,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
706
704
GetDeviceCommissioner ()->GetConnectedDevice (nodeId, &pairingCommand->mOnDeviceConnectedCallback ,
707
705
&pairingCommand->mOnDeviceConnectionFailureCallback );
708
706
}
709
- #endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
707
+ #endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
710
708
}
711
709
712
710
bool ContentAppFactoryImpl::UninstallContentApp (uint16_t vendorId, uint16_t productId)
0 commit comments