fix(zigbee): Add default destructor and fix initialization of tm struct (#10943)

This commit is contained in:
Jan Procházka 2025-02-06 16:06:07 +01:00 committed by GitHub
parent 6fcaf69097
commit 5ba4c21a99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ public:
void reportBatteryPercentage();
// Set time
void addTimeCluster(tm time = {0}, int32_t gmt_offset = 0); // gmt offset in seconds
void addTimeCluster(tm time = {}, int32_t gmt_offset = 0); // gmt offset in seconds
void setTime(tm time);
void setTimezone(int32_t gmt_offset);

View file

@ -67,7 +67,7 @@ typedef struct zigbee_window_covering_cfg_s {
class ZigbeeWindowCovering : public ZigbeeEP {
public:
ZigbeeWindowCovering(uint8_t endpoint);
~ZigbeeWindowCovering();
~ZigbeeWindowCovering() {}
// Set the callback functions for the window covering commands
void onOpen(void (*callback)()) {