Browse Source

ir: use proper methods

pull/1901/head
Max Prokhorov 4 years ago
parent
commit
7efaaa8a80
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      code/espurna/ir.ino

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

@ -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);
}
/*


Loading…
Cancel
Save