summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/helper.c')
-rw-r--r--apps/plugins/lib/helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lib/helper.c b/apps/plugins/lib/helper.c
index 780d636f41..5aa143a728 100644
--- a/apps/plugins/lib/helper.c
+++ b/apps/plugins/lib/helper.c
@@ -106,6 +106,12 @@ void buttonlight_force_on(void)
106 rb->buttonlight_set_timeout(0); 106 rb->buttonlight_set_timeout(0);
107} 107}
108 108
109/* Force the buttonlight off */
110void buttonlight_force_off(void)
111{
112 rb->buttonlight_set_timeout(-1);
113}
114
109/* Turn off backlight timeout */ 115/* Turn off backlight timeout */
110void buttonlight_ignore_timeout(void) 116void buttonlight_ignore_timeout(void)
111{ 117{