Skip to content

Commit 79503ad

Browse files
Restyled by clang-format
1 parent 55e828b commit 79503ad

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

+11-10
Original file line numberDiff line numberDiff line change
@@ -577,32 +577,32 @@ void ContentAppFactoryImpl::InstallContentApp(uint16_t vendorId, uint16_t produc
577577
ChipLogProgress(DeviceLayer, "ContentAppFactoryImpl: InstallContentApp vendorId=%d productId=%d ", vendorId, productId);
578578
if (vendorId == 1 && productId == 11)
579579
{
580-
auto ptr = std::make_unique<ContentAppImpl>("Vendor1", vendorId, "exampleid", productId, "Version1",
581-
"34567890", make_default_supported_clusters());
580+
auto ptr = std::make_unique<ContentAppImpl>("Vendor1", vendorId, "exampleid", productId, "Version1", "34567890",
581+
make_default_supported_clusters());
582582
mContentApps.emplace_back(std::move(ptr));
583583
}
584584
else if (vendorId == 65521 && productId == 32769)
585585
{
586-
auto ptr = std::make_unique<ContentAppImpl>("Vendor2", vendorId, "exampleString", productId, "Version2",
587-
"20202021", make_default_supported_clusters());
586+
auto ptr = std::make_unique<ContentAppImpl>("Vendor2", vendorId, "exampleString", productId, "Version2", "20202021",
587+
make_default_supported_clusters());
588588
mContentApps.emplace_back(std::move(ptr));
589589
}
590590
else if (vendorId == 9050 && productId == 22)
591591
{
592592
auto ptr = std::make_unique<ContentAppImpl>("Vendor3", vendorId, "App3", productId, "Version3", "20202021",
593-
make_default_supported_clusters());
593+
make_default_supported_clusters());
594594
mContentApps.emplace_back(std::move(ptr));
595595
}
596596
else if (vendorId == 1111 && productId == 22)
597597
{
598-
auto ptr = std::make_unique<ContentAppImpl>("TestSuiteVendor", vendorId, "applicationId", productId, "v2",
599-
"20202021", make_default_supported_clusters());
598+
auto ptr = std::make_unique<ContentAppImpl>("TestSuiteVendor", vendorId, "applicationId", productId, "v2", "20202021",
599+
make_default_supported_clusters());
600600
mContentApps.emplace_back(std::move(ptr));
601601
}
602602
else
603603
{
604-
auto ptr = std::make_unique<ContentAppImpl>("NewAppVendor", vendorId, "newAppApplicationId", productId, "v2",
605-
"20202021", make_default_supported_clusters());
604+
auto ptr = std::make_unique<ContentAppImpl>("NewAppVendor", vendorId, "newAppApplicationId", productId, "v2", "20202021",
605+
make_default_supported_clusters());
606606
mContentApps.emplace_back(std::move(ptr));
607607
}
608608
}
@@ -641,7 +641,8 @@ void ContentAppFactoryImpl::PrintInstalledApps()
641641
{
642642
auto app = contentApp.get();
643643

644-
ChipLogProgress(DeviceLayer, "Content app vid=%d pid=%d is on ep=%d", app->GetApplicationBasicDelegate()->HandleGetVendorId(),
644+
ChipLogProgress(DeviceLayer, "Content app vid=%d pid=%d is on ep=%d",
645+
app->GetApplicationBasicDelegate()->HandleGetVendorId(),
645646
app->GetApplicationBasicDelegate()->HandleGetProductId(), app->GetEndpointId());
646647
}
647648
}

0 commit comments

Comments
 (0)