Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 762966b

Browse filesBrowse files
authored
fix(matter): uninitialized fields warning
1 parent 4a8ab37 commit 762966b
Copy full SHA for 762966b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/Matter/src/MatterEndpoints/MatterEnhancedColorLight.h

Copy file name to clipboardExpand all lines: libraries/Matter/src/MatterEndpoints/MatterEnhancedColorLight.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class MatterEnhancedColorLight : public MatterEndPoint {
9191
bool started = false;
9292
bool onOffState = false; // default initial state is off, but it can be changed by begin(bool)
9393
uint8_t brightnessLevel = 0; // default initial brightness is 0, but it can be changed by begin(bool, uint8_t)
94-
espHsvColor_t colorHSV = {0}; // default initial color HSV is black, but it can be changed by begin(bool, uint8_t, espHsvColor_t)
94+
espHsvColor_t colorHSV = {0, 0, 0}; // default initial color HSV is black, but it can be changed by begin(bool, uint8_t, espHsvColor_t)
9595
uint16_t colorTemperatureLevel = 0; // default initial color temperature is 0, but it can be changed by begin(bool, uint8_t, espHsvColor_t, uint16_t)
9696
EndPointOnOffCB _onChangeOnOffCB = NULL;
9797
EndPointBrightnessCB _onChangeBrightnessCB = NULL;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.