Skip to content

Commit 30be958

Browse files
committed
Fix CI
1 parent 45fccb1 commit 30be958

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/tv-casting-app/tv-casting-common/include/CastingServer.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ inline constexpr chip::System::Clock::Seconds16 kCommissioningWindowTimeout = ch
4949
* and then have it send TV Casting/Media related commands. This is to be instantiated
5050
* as a singleton and is to be used across Linux, Android and iOS.
5151
*/
52-
class CastingServer : public AppDelegate, chip::Protocols::UserDirectedCommissioning::CommissionerDeclarationHandler
52+
class CastingServer : public AppDelegate
53+
#if CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY_CLIENT
54+
,
55+
chip::Protocols::UserDirectedCommissioning::CommissionerDeclarationHandler
56+
#endif // CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY_CLIENT
5357
{
5458
public:
5559
CastingServer(CastingServer & other) = delete;

0 commit comments

Comments
 (0)