Skip to content

Commit 59ce6f8

Browse files
committed
fix(zigbee): Remove unused variable
1 parent ca0b24b commit 59ce6f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/Zigbee/src/ep/ZigbeeMultistate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ bool ZigbeeMultistate::addMultistateOutput() {
9999
char default_description[] = "\x11" // Size of the description text
100100
"Multistate Output"; // Description text
101101
uint32_t application_type = 0x00000000 | (0x0E << 24);
102-
const char* state_text[] = { "Off", "On", "Auto" }; // State text array
103-
uint16_t num_states = 3; // Number of states
102+
// const char* state_text[] = { "Off", "On", "Auto" }; // State text array
104103

105104
esp_err_t ret = esp_zb_multistate_output_cluster_add_attr(multistate_output_cluster, ESP_ZB_ZCL_ATTR_MULTI_OUTPUT_DESCRIPTION_ID, (void *)default_description);
106105
if (ret != ESP_OK) {

0 commit comments

Comments
 (0)