diff --git a/examples/lighting-app/k32w/main/include/AppTask.h b/examples/lighting-app/k32w/main/include/AppTask.h index b5a99f0b4a0e61..379ed0a45aaf3c 100644 --- a/examples/lighting-app/k32w/main/include/AppTask.h +++ b/examples/lighting-app/k32w/main/include/AppTask.h @@ -87,9 +87,9 @@ class AppTask kFunction_Invalid } Function; - Function_t mFunction; - bool mResetTimerActive; - bool mSyncClusterToButtonAction; + Function_t mFunction = kFunction_NoneSelected; + bool mResetTimerActive = false; + bool mSyncClusterToButtonAction = false; static AppTask sAppTask; }; diff --git a/examples/lock-app/k32w/main/include/AppTask.h b/examples/lock-app/k32w/main/include/AppTask.h index 770c8b818df715..9a938c61521e35 100644 --- a/examples/lock-app/k32w/main/include/AppTask.h +++ b/examples/lock-app/k32w/main/include/AppTask.h @@ -79,9 +79,9 @@ class AppTask kFunction_Invalid } Function; - Function_t mFunction; - bool mResetTimerActive; - bool mSyncClusterToButtonAction; + Function_t mFunction = kFunction_NoneSelected; + bool mResetTimerActive = false; + bool mSyncClusterToButtonAction = false; static AppTask sAppTask; };