Skip to content

Commit eadfafe

Browse files
committed
fix(matter): example has a bad symbol name
1 parent 2f37d7a commit eadfafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Matter/examples/Matter_CW_WW_Light/Matter_CW_WW_Light.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ bool setLightState(bool state, uint8_t brightness, uint16_t temperature_Mireds)
5858
rgbLedWrite(ledPin, rgb_ct.r, rgb_ct.g, rgb_ct.b);
5959
#else
6060
// No Color RGB LED, just use the brightness to control the LED
61-
analogWrite(ledPin, _brightness);
61+
analogWrite(ledPin, brightness);
6262
#endif
6363
} else {
6464
digitalWrite(ledPin, LOW);

0 commit comments

Comments
 (0)