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