|
@ -68,7 +68,7 @@ const char _light_channel_desc[5][5] PROGMEM = { |
|
|
{'R', 'G', 'B', 'W', 0}, |
|
|
{'R', 'G', 'B', 'W', 0}, |
|
|
{'R', 'G', 'B', 'W', 'C'} |
|
|
{'R', 'G', 'B', 'W', 'C'} |
|
|
}; |
|
|
}; |
|
|
static_assert((LIGHT_CHANNELS * LIGHT_CHANNELS) == (sizeof(_light_channel_desc)), "Out-of-bounds array access"); |
|
|
|
|
|
|
|
|
static_assert((LIGHT_CHANNELS * LIGHT_CHANNELS) <= (sizeof(_light_channel_desc)), "Out-of-bounds array access"); |
|
|
|
|
|
|
|
|
// Gamma Correction lookup table (8 bit)
|
|
|
// Gamma Correction lookup table (8 bit)
|
|
|
const unsigned char _light_gamma_table[] PROGMEM = { |
|
|
const unsigned char _light_gamma_table[] PROGMEM = { |
|
|