Commit 91317d1 1 parent a7074e8 commit 91317d1 Copy full SHA for 91317d1
File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ using namespace chip::Shell;
29
29
using namespace chip ::app;
30
30
using namespace chip ::app::Clusters;
31
31
32
+ #if CHIP_CONFIG_ENABLE_ICD_CIP
32
33
void notifyIcdActive (System::Layer * layer, void *)
33
34
{
34
35
ICDNotifier::GetInstance ().NotifyNetworkActivityNotification ();
35
36
DeviceLayer::SystemLayer ().StartTimer (chip::System::Clock::Milliseconds32 (10000 ), notifyIcdActive, nullptr );
36
37
}
38
+ #endif // CHIP_CONFIG_ENABLE_ICD_CIP
37
39
38
40
int main (int argc, char * argv[])
39
41
{
@@ -55,7 +57,9 @@ int main(int argc, char * argv[])
55
57
cmd_app_server_init ();
56
58
#endif
57
59
60
+ #if CHIP_CONFIG_ENABLE_ICD_CIP
58
61
DeviceLayer::SystemLayer ().StartTimer (chip::System::Clock::Milliseconds32 (10000 ), notifyIcdActive, nullptr );
62
+ #endif // CHIP_CONFIG_ENABLE_ICD_CIP
59
63
60
64
ChipLinuxAppMainLoop ();
61
65
You can’t perform that action at this time.
0 commit comments