Skip to content

Commit 6a68ef8

Browse files
restyled-commitslazarkov
authored andcommitted
Restyled by clang-format
1 parent 7781b6b commit 6a68ef8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/tv-app/tv-common/src/AppTv.cpp

+4-6
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,6 @@ void ContentAppFactoryImpl::AddAdminVendorId(uint16_t vendorId)
567567
mAdminVendorIds.push_back(vendorId);
568568
}
569569

570-
571-
572570
class DevicePairedCommand : public Controller::DevicePairingDelegate
573571
{
574572
public:
@@ -599,12 +597,12 @@ class DevicePairedCommand : public Controller::DevicePairingDelegate
599597
" and vendor id: %d and product id: %d",
600598
ChipLogValueX64(cbContext->nodeId), cbContext->vendorId, cbContext->productId);
601599

602-
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
600+
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
603601

604602
GetCommissionerDiscoveryController()->CommissioningSucceeded(cbContext->vendorId, cbContext->productId,
605603
cbContext->nodeId, exchangeMgr, sessionHandle);
606604

607-
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
605+
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
608606
}
609607
}
610608

@@ -692,7 +690,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
692690
nodeIds.insert(tempNodeIds.begin(), tempNodeIds.end());
693691
}
694692
}
695-
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
693+
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
696694
// refresh ACLs
697695
for (const auto & nodeId : nodeIds)
698696
{
@@ -706,7 +704,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
706704
GetDeviceCommissioner()->GetConnectedDevice(nodeId, &pairingCommand->mOnDeviceConnectedCallback,
707705
&pairingCommand->mOnDeviceConnectionFailureCallback);
708706
}
709-
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
707+
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
710708
}
711709

712710
bool ContentAppFactoryImpl::UninstallContentApp(uint16_t vendorId, uint16_t productId)

0 commit comments

Comments
 (0)