Browse Source

Revert "ir: use proper methods" (#2066)

This reverts commit 7efaaa8a80.
master
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
c6758e4844
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      code/espurna/ir.ino

+ 1
- 2
code/espurna/ir.ino View File

@ -305,8 +305,7 @@ void _irProcess(unsigned char type, unsigned long code) {
} }
if (button_mode == IR_BUTTON_MODE_RGB) { if (button_mode == IR_BUTTON_MODE_RGB) {
lightColor((button_value >> 8) & 0xffffff);
lightBrightness(button_value & 0xff);
lightColor(button_value);
} }
/* /*


Loading…
Cancel
Save