MCPcopy Create free account
hub / github.com/FastLED/FastLED / loadProgmemPalette

Function loadProgmemPalette

src/fl/gfx/colorutils.h:580–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578};
579
580inline void loadProgmemPalette(CRGB *entries, const fl::u32 *rhs,
581 fl::u16 count) FL_NOEXCEPT {
582 for (fl::u16 i = 0; i < count; ++i) {
583 entries[i] = FL_PGM_READ_DWORD_NEAR(rhs + i);
584 }
585}
586
587inline void loadProgmemPalette(CHSV *entries, const fl::u32 *rhs,
588 fl::u16 count) FL_NOEXCEPT {

Callers 8

CHSVPalette16Method · 0.85
CHSVPalette16Class · 0.85
CRGBPalette16Method · 0.85
CRGBPalette16Class · 0.85
CHSVPalette32Method · 0.85
CHSVPalette32Class · 0.85
CRGBPalette32Method · 0.85
CRGBPalette32Class · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected