From 18269d257482f4162a7fca3e167c47c00c27b0a9 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 17 Nov 2020 18:56:11 +0100 Subject: [PATCH] Fix some build issues when building examples/lighting-app from ./gn_build.sh (#3877) --- examples/lighting-app/lighting-common/gen/endpoint_config.h | 2 +- examples/lighting-app/linux/include/LightingManager.h | 1 - examples/lighting-app/linux/main.cpp | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/lighting-app/lighting-common/gen/endpoint_config.h b/examples/lighting-app/lighting-common/gen/endpoint_config.h index b84160d8b003dc..fafd2e3a13e318 100644 --- a/examples/lighting-app/lighting-common/gen/endpoint_config.h +++ b/examples/lighting-app/lighting-common/gen/endpoint_config.h @@ -157,7 +157,7 @@ // Generated reporting configuration defaults #define EMBER_AF_GENERATED_REPORTING_CONFIG_DEFAULTS \ { \ - { EMBER_ZCL_REPORTING_DIRECTION_REPORTED, 1, 0x0006, 0x0000, CLUSTER_MASK_SERVER, 0x0000, 1, 65534, 0 }, \ + { EMBER_ZCL_REPORTING_DIRECTION_REPORTED, 1, 0x0006, 0x0000, CLUSTER_MASK_SERVER, 0x0000, { { 1, 65534, 0 } } }, \ } #define EMBER_AF_GENERATED_REPORTING_CONFIG_DEFAULTS_TABLE_SIZE (1) #endif // SILABS_AF_ENDPOINT_CONFIG diff --git a/examples/lighting-app/linux/include/LightingManager.h b/examples/lighting-app/linux/include/LightingManager.h index c67757751ed394..ffcea179e6c957 100644 --- a/examples/lighting-app/linux/include/LightingManager.h +++ b/examples/lighting-app/linux/include/LightingManager.h @@ -51,7 +51,6 @@ class LightingManager private: friend LightingManager & LightingMgr(void); State_t mState; - uint32_t mGPIONum; LightingCallback_fn mActionInitiated_CB; LightingCallback_fn mActionCompleted_CB; diff --git a/examples/lighting-app/linux/main.cpp b/examples/lighting-app/linux/main.cpp index 55b81c83b14357..96e2b55d1308aa 100644 --- a/examples/lighting-app/linux/main.cpp +++ b/examples/lighting-app/linux/main.cpp @@ -19,8 +19,6 @@ #include #include -#include - #include "af.h" #include "gen/attribute-id.h" #include "gen/cluster-id.h"