Skip to content

Commit 06b0700

Browse files
committed
Remove unused _identify_cluster
1 parent a83f695 commit 06b0700

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

libraries/Zigbee/src/Zigbee_ep.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class Zigbee_EP {
3131
esp_zb_cluster_list_t *_cluster_list;
3232
esp_zb_attribute_list_t *_attribute_cluster;
3333

34-
esp_zb_identify_cluster_cfg_t *_identify_cluster;
35-
3634
// Set ep config and cluster list
3735
void set_ep_config(esp_zb_endpoint_config_t ep_config, esp_zb_cluster_list_t *cluster_list) {
3836
_ep_config = ep_config;

libraries/Zigbee/src/ep/ep_on_off_light.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ZigbeeLight::ZigbeeLight(uint8_t endpoint) : Zigbee_EP(endpoint) {
55
_version = 0;
66

77
esp_zb_on_off_light_cfg_t light_cfg = ESP_ZB_DEFAULT_ON_OFF_LIGHT_CONFIG();
8-
_identify_cluster = &light_cfg.identify_cfg;
98
_cluster_list = esp_zb_on_off_light_clusters_create(&light_cfg); // use esp_zb_zcl_cluster_list_create() instead of esp_zb_on_off_light_clusters_create()
109
_ep_config = {
1110
.endpoint = _endpoint,

libraries/Zigbee/src/ep/ep_on_off_switch.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ ZigbeeSwitch::ZigbeeSwitch(uint8_t endpoint) : Zigbee_EP(endpoint) {
1010
_instance = this; // Set the static pointer to this instance
1111

1212
esp_zb_on_off_switch_cfg_t switch_cfg = ESP_ZB_DEFAULT_ON_OFF_SWITCH_CONFIG();
13-
_identify_cluster = &switch_cfg.identify_cfg;
1413
_cluster_list = esp_zb_on_off_switch_clusters_create(&switch_cfg);
1514

1615
_ep_config = {

0 commit comments

Comments
 (0)