summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/backlight-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/backlight-unix.c')
-rw-r--r--firmware/target/hosted/backlight-unix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/hosted/backlight-unix.c b/firmware/target/hosted/backlight-unix.c
index 06da05e487..3a0b301e2c 100644
--- a/firmware/target/hosted/backlight-unix.c
+++ b/firmware/target/hosted/backlight-unix.c
@@ -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;
}