This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
ir: use proper methods
master
Max Prokhorov
5 years ago
parent
0bf07f166e
commit
7efaaa8a80
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
}
/*
Write
Preview
Loading…
Cancel
Save