Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/Zigbee/src/ZigbeeEP.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class ZigbeeEP {
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);

Expand Down
2 changes: 1 addition & 1 deletion libraries/Zigbee/src/ep/ZigbeeWindowCovering.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)()) {
Expand Down
Loading