fix(zigbee): Add default destructor and fix initialization of tm struct (#10943)
This commit is contained in:
parent
6fcaf69097
commit
5ba4c21a99
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ public:
|
||||||
void reportBatteryPercentage();
|
void reportBatteryPercentage();
|
||||||
|
|
||||||
// Set time
|
// 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 setTime(tm time);
|
||||||
void setTimezone(int32_t gmt_offset);
|
void setTimezone(int32_t gmt_offset);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ typedef struct zigbee_window_covering_cfg_s {
|
||||||
class ZigbeeWindowCovering : public ZigbeeEP {
|
class ZigbeeWindowCovering : public ZigbeeEP {
|
||||||
public:
|
public:
|
||||||
ZigbeeWindowCovering(uint8_t endpoint);
|
ZigbeeWindowCovering(uint8_t endpoint);
|
||||||
~ZigbeeWindowCovering();
|
~ZigbeeWindowCovering() {}
|
||||||
|
|
||||||
// Set the callback functions for the window covering commands
|
// Set the callback functions for the window covering commands
|
||||||
void onOpen(void (*callback)()) {
|
void onOpen(void (*callback)()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue