Skip to content

Commit e8a4ada

Browse files
committed
Update ifdef
1 parent e188180 commit e8a4ada

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/tv-app/linux/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ void ApplicationInit()
4646
// Can't disable this without breaking CI unit tests that act upon account login cluster (only available on ep3)
4747
// emberAfEndpointEnableDisable(3, false);
4848

49+
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
4950
// Install Content Apps
5051
ContentAppFactoryImpl * factory = GetContentAppFactoryImpl();
5152

@@ -68,6 +69,7 @@ void ApplicationInit()
6869
constexpr uint16_t kApp4VendorId = 1111;
6970
constexpr uint16_t kApp4ProductId = 22;
7071
factory->InstallContentApp(kApp4VendorId, kApp4ProductId);
72+
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
7173
}
7274

7375
void ApplicationShutdown() {}

0 commit comments

Comments
 (0)