Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed Apr 13, 2021
1 parent 35620cc commit 7d614c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/lighting-app/nrfconnect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ target_sources(app PRIVATE
${LIGHTING_COMMON}/gen/attribute-size.cpp
${LIGHTING_COMMON}/gen/call-command-handler.cpp
${LIGHTING_COMMON}/gen/callback-stub.cpp
${LIGHTING_COMMON}/gen/IMClusterCommandHandler.cpp
${NRFCONNECT_COMMON}/util/LEDWidget.cpp
${NRFCONNECT_COMMON}/util/ThreadUtil.cpp
${NRFCONNECT_COMMON}/app/Service.cpp
Expand Down
1 change: 1 addition & 0 deletions examples/lock-app/nrfconnect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ target_sources(app PRIVATE
${LOCK_COMMON}/gen/attribute-size.cpp
${LOCK_COMMON}/gen/call-command-handler.cpp
${LOCK_COMMON}/gen/callback-stub.cpp
${LOCK_COMMON}/gen/IMClusterCommandHandler.cpp
${NRFCONNECT_COMMON}/util/LEDWidget.cpp
${NRFCONNECT_COMMON}/util/ThreadUtil.cpp
${NRFCONNECT_COMMON}/app/Service.cpp
Expand Down
2 changes: 0 additions & 2 deletions src/app/util/process-cluster-message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@

bool emAfProcessClusterSpecificCommand(EmberAfClusterCommand * cmd)
{
EmberAfStatus status;

// if we are disabled then we can only respond to read or write commands
// or identify cluster (see device enabled attr of basic cluster)
if (!emberAfIsDeviceEnabled(cmd->apsFrame->destinationEndpoint) && cmd->apsFrame->clusterId != ZCL_IDENTIFY_CLUSTER_ID)
Expand Down

0 comments on commit 7d614c1

Please sign in to comment.