We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a04d82 commit 3edb261Copy full SHA for 3edb261
1 file changed
src/cmnds/cmd_newLEDDriver.c
@@ -262,8 +262,7 @@ void LED_I2CDriver_WriteRGBCW(float* finalRGBCW) {
262
// the format is RGBCW
263
// Emulate C with RGB
264
LED_CalculateEmulatedCool(finalRGBCW[3], finalRGBCW);
265
- // C is unused
266
- finalRGBCW[3] = 0;
+ // keep C unchanged, because it is the lerp value for emulated cool LED
267
// keep W unchanged
268
}
269
0 commit comments