diff --git a/code/espurna/ir.ino b/code/espurna/ir.ino index cf86d203..780dbe7a 100644 --- a/code/espurna/ir.ino +++ b/code/espurna/ir.ino @@ -303,7 +303,8 @@ void _irProcess(unsigned char type, unsigned long code) { } if (button_mode == IR_BUTTON_MODE_RGB) { - lightColor(button_value); + lightColor((button_value >> 8) & 0xffffff); + lightBrightness(button_value & 0xff); } /*