Skip to content

Commit 03958bd

Browse files
committed
fix
Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent fc50e29 commit 03958bd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

examples/platform/linux/AppMain.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#include <app/clusters/device-energy-management-server/DeviceEnergyManagementTestEventTriggerHandler.h>
9999
#endif
100100
#if CHIP_CONFIG_ENABLE_ICD_SERVER
101-
#include <app/icd/server/ICDManager.h>
101+
#include <app/icd/server/ICDManager.h> // nogncheck
102102
#endif
103103
#include <app/TestEventTriggerDelegate.h>
104104

@@ -722,9 +722,9 @@ void ChipLinuxAppMainLoop(AppMainLoopImplementation * impl)
722722
signal(SIGTERM, StopSignalHandler);
723723
// NOLINTEND(bugprone-signal-handler)
724724
#else
725-
struct sigaction sa = {};
726-
sa.sa_handler = StopSignalHandler;
727-
sa.sa_flags = SA_RESETHAND;
725+
struct sigaction sa = {};
726+
sa.sa_handler = StopSignalHandler;
727+
sa.sa_flags = SA_RESETHAND;
728728
sigaction(SIGINT, &sa, nullptr);
729729
sigaction(SIGTERM, &sa, nullptr);
730730
#endif

src/app/clusters/icd-management-server/icd-management-server.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
#include <app-common/zap-generated/ids/Clusters.h>
2626
#include <app/AttributeAccessInterface.h>
2727
#include <app/AttributeAccessInterfaceRegistry.h>
28-
#include <app/icd/server/ICDNotifier.h>
28+
#if CHIP_CONFIG_ENABLE_ICD_CIP
29+
#include <app/icd/server/ICDNotifier.h> // nogncheck
30+
#endif
2931
#include <app/server/Server.h>
3032
#include <app/util/attribute-storage.h>
3133

0 commit comments

Comments
 (0)