fix(zigbee): Add default destructor and fix initialization of tm struct · espressif/arduino-esp32@3655d54 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 3655d54
fix(zigbee): Add default destructor and fix initialization of tm struct
File tree
2 files changed
lines changed
2 files changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -95,7 +95,7 @@ class ZigbeeEP { | ||
95 | 95 | void reportBatteryPercentage(); |
96 | 96 | |
97 | 97 | // Set time |
98 | -void addTimeCluster(tm time = {0}, int32_t gmt_offset = 0); // gmt offset in seconds | |
98 | +void addTimeCluster(tm time = {}, int32_t gmt_offset = 0); // gmt offset in seconds | |
99 | 99 | void setTime(tm time); |
100 | 100 | void setTimezone(int32_t gmt_offset); |
101 | 101 |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -67,7 +67,7 @@ typedef struct zigbee_window_covering_cfg_s { | ||
67 | 67 | class ZigbeeWindowCovering : public ZigbeeEP { |
68 | 68 | public: |
69 | 69 | ZigbeeWindowCovering(uint8_t endpoint); |
70 | -~ZigbeeWindowCovering(); | |
70 | +~ZigbeeWindowCovering() {} | |
71 | 71 | |
72 | 72 | // Set the callback functions for the window covering commands |
73 | 73 | void onOpen(void (*callback)()) { |