diff --git a/src/app/icd/ICDManager.cpp b/src/app/icd/ICDManager.cpp index 5fa3466f0dc490..65343d76755e91 100644 --- a/src/app/icd/ICDManager.cpp +++ b/src/app/icd/ICDManager.cpp @@ -33,12 +33,6 @@ #define ICD_ENFORCE_SIT_SLOW_POLL_LIMIT 0 #endif -// This can be enable by adding report_on_active to your build arguments -#ifndef ICD_REPORT_ON_ENTER_ACTIVE_MODE -// Enabling this makes the device emit subscription reports when transitioning from idle to active mode. -#define ICD_REPORT_ON_ENTER_ACTIVE_MODE 0 -#endif - namespace chip { namespace app { diff --git a/src/app/reporting/ReportScheduler.h b/src/app/reporting/ReportScheduler.h index 43441be73bddf5..d9e767ccb9ef84 100644 --- a/src/app/reporting/ReportScheduler.h +++ b/src/app/reporting/ReportScheduler.h @@ -37,6 +37,11 @@ class TimerContext virtual void TimerFired() = 0; }; +#ifndef ICD_REPORT_ON_ENTER_ACTIVE_MODE +// Enabling this makes the device emit subscription reports when transitioning from idle to active mode. +#define ICD_REPORT_ON_ENTER_ACTIVE_MODE 0 +#endif + class ReportScheduler : public ReadHandler::Observer, public ICDStateObserver { public: