From c6758e48447a2c26b428cc98cdc8192f74136b95 Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Mon, 16 Dec 2019 14:09:52 +0300 Subject: [PATCH] Revert "ir: use proper methods" (#2066) This reverts commit 7efaaa8a8054cb4cb3c421ca92a0d98f39922b32. --- code/espurna/ir.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } /*