FastLED 3.10.8
Loading...
Searching...
No Matches

◆ noAdjustment()

static ColorAdjustment ColorAdjustment::noAdjustment ( )
inlinestatic

the per-channel scale values premixed with brightness.

Create a ColorAdjustment with no scaling or brightness adjustment Static functions are allowed without breaking POD compatibility

Definition at line 86 of file pixel_controller.h.

86 {
87 ColorAdjustment adj;
88 adj.premixed = CRGB(255, 255, 255);
89 #if FASTLED_HD_COLOR_MIXING
90 adj.color = CRGB(255, 255, 255);
91 adj.brightness = 255;
92 #endif
93 return adj;
94 }
fl::CRGB CRGB
Definition crgb.h:25

References FL_NO_EXCEPT, and premixed.

Referenced by fl::UCS7604ControllerT< DATA_PIN, RGB_ORDER, fl::UCS7604Mode::UCS7604_MODE_8BIT_800KHZ, fl::TIMING_UCS7604_800KHZ, CLOCKLESS_CONTROLLER >::showPixels().

+ Here is the caller graph for this function: