Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit d1a8a76

Browse files
committed
Fix CloudColor assignment operator
1 parent 936ca7b commit d1a8a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/CloudColor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class CloudColor : public ArduinoCloudProperty {
174174
CloudColor& operator=(Color aColor) {
175175
_value.hue = aColor.hue;
176176
_value.sat = aColor.sat;
177-
_value.sat = aColor.bri;
177+
_value.bri = aColor.bri;
178178
updateLocalTimestamp();
179179
return *this;
180180
}

0 commit comments

Comments
 (0)