Skip to content

Commit 931a662

Browse files
committed
fix(matter): reverted mattercolorlight.h format changes
1 parent 0416071 commit 931a662

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: libraries/Matter/src/MatterEndpoints/MatterColorLight.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MatterColorLight : public MatterEndPoint {
2424
MatterColorLight();
2525
~MatterColorLight();
2626
// default initial state is off, color is red 12% intensity HSV(0, 254, 31)
27-
virtual bool begin(bool initialState = false, espHsvColor_t colorHSV = { 0, 254, 31});
27+
virtual bool begin(bool initialState = false, espHsvColor_t colorHSV = {0, 254, 31});
2828
// this will just stop processing Light Matter events
2929
void end();
3030

@@ -67,9 +67,9 @@ class MatterColorLight : public MatterEndPoint {
6767
protected:
6868
bool started = false;
6969
bool onOffState = false; // default initial state is off, but it can be changed by begin(bool)
70-
espHsvColor_t colorHSV = {0}; // default initial color HSV is black, but it can be changed by begin(bool, espHsvColor_t)```
70+
espHsvColor_t colorHSV = {0}; // default initial color HSV is black, but it can be changed by begin(bool, espHsvColor_t)
7171
EndPointOnOffCB _onChangeOnOffCB = NULL;
7272
EndPointRGBColorCB _onChangeColorCB = NULL;
7373
EndPointCB _onChangeCB = NULL;
7474
};
75-
#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
75+
#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */

0 commit comments

Comments
 (0)