Skip to content

Commit

Permalink
Update ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Jul 11, 2024
1 parent e188180 commit e8a4ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/tv-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void ApplicationInit()
// Can't disable this without breaking CI unit tests that act upon account login cluster (only available on ep3)
// emberAfEndpointEnableDisable(3, false);

#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
// Install Content Apps
ContentAppFactoryImpl * factory = GetContentAppFactoryImpl();

Expand All @@ -68,6 +69,7 @@ void ApplicationInit()
constexpr uint16_t kApp4VendorId = 1111;
constexpr uint16_t kApp4ProductId = 22;
factory->InstallContentApp(kApp4VendorId, kApp4ProductId);
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
}

void ApplicationShutdown() {}
Expand Down

0 comments on commit e8a4ada

Please sign in to comment.