Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and lazarkov committed Jul 8, 2024
1 parent 7781b6b commit 6a68ef8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions examples/tv-app/tv-common/src/AppTv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,6 @@ void ContentAppFactoryImpl::AddAdminVendorId(uint16_t vendorId)
mAdminVendorIds.push_back(vendorId);
}



class DevicePairedCommand : public Controller::DevicePairingDelegate
{
public:
Expand Down Expand Up @@ -599,12 +597,12 @@ class DevicePairedCommand : public Controller::DevicePairingDelegate
" and vendor id: %d and product id: %d",
ChipLogValueX64(cbContext->nodeId), cbContext->vendorId, cbContext->productId);

#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED

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

#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
}
}

Expand Down Expand Up @@ -692,7 +690,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
nodeIds.insert(tempNodeIds.begin(), tempNodeIds.end());
}
}
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
// refresh ACLs
for (const auto & nodeId : nodeIds)
{
Expand All @@ -706,7 +704,7 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
GetDeviceCommissioner()->GetConnectedDevice(nodeId, &pairingCommand->mOnDeviceConnectedCallback,
&pairingCommand->mOnDeviceConnectionFailureCallback);
}
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
}

bool ContentAppFactoryImpl::UninstallContentApp(uint16_t vendorId, uint16_t productId)
Expand Down

0 comments on commit 6a68ef8

Please sign in to comment.