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>
(cherry picked from commit fc62d66c20)
Link: https://github.com/openwrt/openwrt/pull/15438
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
06be957f86
commit
3704eb3c3f
@@ -278,7 +278,6 @@
|
||||
label = "red";
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
@@ -286,7 +285,6 @@
|
||||
label = "green";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
@@ -294,7 +292,6 @@
|
||||
label = "blue";
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "default-on";
|
||||
reg = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user