FastLED 3.9.15
Loading...
Searching...
No Matches

◆ UpscalePalette() [5/6]

void fl::UpscalePalette ( const class CRGBPalette16 & srcpal16,
class CRGBPalette32 & destpal32 )

Definition at line 977 of file colorutils.cpp.

978 {
979 for (fl::u8 i = 0; i < 16; ++i) {
980 fl::u8 j = i * 2;
981 destpal32[j + 0] = srcpal16[i];
982 destpal32[j + 1] = srcpal16[i];
983 }
984}
unsigned char u8
Definition int.h:17