Skip to content

Commit 6d62a3c

Browse files
committed
feat(zigbee): Remove unused variables in addTimeCluster
1 parent 6948167 commit 6d62a3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/Zigbee/src/ZigbeeEP.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,7 @@ void ZigbeeEP::zbIdentify(const esp_zb_zcl_set_attr_value_message_t *message) {
241241
}
242242

243243
void ZigbeeEP::addTimeCluster(tm time, int32_t gmt_offset) {
244-
// default values for time cluster
245244
time_t utc_time = 0;
246-
time_t undefined_time = 0xffffffff;
247-
uint8_t time_status = 0;
248245

249246
// Check if time is set
250247
if (time.tm_year > 0) {

0 commit comments

Comments
 (0)