Skip to content

Commit

Permalink
[esp32] Remove ON_LEVEL attribute access (project-chip#7744)
Browse files Browse the repository at this point in the history
This attribute does take effect for the time being.
  • Loading branch information
gjc13 authored and Nikita committed Sep 23, 2021
1 parent 380238c commit a01c69f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/all-clusters-app/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,6 @@ void SetupInitialLevelControlValues(chip::EndpointId endpointId)

emberAfWriteAttribute(endpointId, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level,
ZCL_DATA8_ATTRIBUTE_TYPE);
emberAfWriteAttribute(endpointId, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_ON_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level,
ZCL_DATA8_ATTRIBUTE_TYPE);
}

void SetupPretendDevices()
Expand Down

0 comments on commit a01c69f

Please sign in to comment.