diff options
Diffstat (limited to 'apps/plugins/lib/helper.c')
-rw-r--r-- | apps/plugins/lib/helper.c | 6 |
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 */ | ||
110 | void buttonlight_force_off(void) | ||
111 | { | ||
112 | rb->buttonlight_set_timeout(-1); | ||
113 | } | ||
114 | |||
109 | /* Turn off backlight timeout */ | 115 | /* Turn off backlight timeout */ |
110 | void buttonlight_ignore_timeout(void) | 116 | void buttonlight_ignore_timeout(void) |
111 | { | 117 | { |