Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K32W] Sync button push with cluster state #8761

Merged
merged 3 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[K32W] Sync button push with cluster state
If buttons are used for locking/unlocking the elock or for
turn off/down of the lighting then this change needs to be
propagated to the cluster state.

Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com>
  • Loading branch information
doru91 committed Aug 11, 2021
commit d895e37a54ffc444c1df4d937915cf8b3356c2f6
6 changes: 3 additions & 3 deletions examples/lighting-app/k32w/main/include/AppTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
6 changes: 3 additions & 3 deletions examples/lock-app/k32w/main/include/AppTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down