diff --git a/code/espurna/light.ino b/code/espurna/light.ino index b6a5cbdb..f3230951 100644 --- a/code/espurna/light.ino +++ b/code/espurna/light.ino @@ -68,7 +68,7 @@ const char _light_channel_desc[5][5] PROGMEM = { {'R', 'G', 'B', 'W', 0}, {'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) const unsigned char _light_gamma_table[] PROGMEM = {