mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 09:46:32 +00:00
Fix comment
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
e2fd1559d2
commit
10d1098403
@ -1615,7 +1615,7 @@ void WS2812FX::show() {
|
|||||||
uint8_t newBri = estimateCurrentAndLimitBri(_brightness, _pixels);
|
uint8_t newBri = estimateCurrentAndLimitBri(_brightness, _pixels);
|
||||||
if (newBri != _brightness) BusManager::setBrightness(newBri);
|
if (newBri != _brightness) BusManager::setBrightness(newBri);
|
||||||
|
|
||||||
// paint actuall pixels
|
// paint actual pixels
|
||||||
int oldCCT = Bus::getCCT(); // store original CCT value (since it is global)
|
int oldCCT = Bus::getCCT(); // store original CCT value (since it is global)
|
||||||
// when cctFromRgb is true we implicitly calculate WW and CW from RGB values (cct==-1)
|
// when cctFromRgb is true we implicitly calculate WW and CW from RGB values (cct==-1)
|
||||||
if (cctFromRgb) BusManager::setSegmentCCT(-1);
|
if (cctFromRgb) BusManager::setSegmentCCT(-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user