Skip to content

Commit

Permalink
ir: use proper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Sep 7, 2019
1 parent 0bf07f1 commit 7efaaa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/espurna/ir.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 7efaaa8

Please sign in to comment.