Check if two palettes have the same color entries.
Definition at line 1094 of file colorutils.h.
1095 {
1096 const uint8_t*
p = (
const uint8_t*)(&(this->
entries[0]));
1097 const uint8_t* q = (
const uint8_t*)(&(rhs.
entries[0]));
1098 if(
p == q)
return true;
1099 for( uint8_t i = 0; i < (
sizeof(
entries)); ++i) {
1100 if( *
p != *q)
return false;
1102 ++q;
1103 }
1104 return true;
1105 }
CRGB entries[16]
the color entries that make up the palette
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
References CRGBPalette16(), entries, and p.