hosted: control buttonlights along with the display backlight.
Change-Id: I03385db46e94ca1bb6a4e35c89f630145c9d40e5
This commit is contained in:
parent
7642184fd9
commit
f3ae48f552
|
@ -41,6 +41,12 @@ bool backlight_hw_init(void)
|
|||
{
|
||||
backlight_hw_on();
|
||||
backlight_hw_brightness(DEFAULT_BRIGHTNESS_SETTING);
|
||||
#ifdef HAVE_BUTTON_LIGHT
|
||||
buttonlight_hw_on();
|
||||
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
|
||||
buttonlight_hw_brightness(DEFAULT_BRIGHTNESS_SETTING);
|
||||
#endif
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue