mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
ipq40xx: whw03v2: fix handling of RGB LED
The RGB LED should glow green in the 'running' state, but it was glowing cyan because the blue component defaulted to 'on'. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
This commit is contained in:
parent
5fe0d296c1
commit
fc62d66c20
@ -277,21 +277,18 @@
|
||||
led_red: red@0 {
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
led_green: green@1 {
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
led_blue: blue@2 {
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "default-on";
|
||||
reg = <2>;
|
||||
};
|
||||
};
|
||||
|
@ -277,21 +277,18 @@
|
||||
led_red: red@0 {
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
led_green: green@1 {
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
led_blue: blue@2 {
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "default-on";
|
||||
reg = <2>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user