diff options
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/helper.c | 6 | ||||
-rw-r--r-- | apps/plugins/lib/helper.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/lib/helper.c b/apps/plugins/lib/helper.c index f36c01b23e..018c1616c8 100644 --- a/apps/plugins/lib/helper.c +++ b/apps/plugins/lib/helper.c | |||
@@ -22,6 +22,12 @@ | |||
22 | #include "plugin.h" | 22 | #include "plugin.h" |
23 | #include "helper.h" | 23 | #include "helper.h" |
24 | 24 | ||
25 | int talk_val(long n, int unit, bool enqueue) | ||
26 | { | ||
27 | #define NODECIMALS 0 | ||
28 | return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue); | ||
29 | } | ||
30 | |||
25 | #ifdef HAVE_BACKLIGHT | 31 | #ifdef HAVE_BACKLIGHT |
26 | /* Force the backlight on */ | 32 | /* Force the backlight on */ |
27 | void backlight_force_on(void) | 33 | void backlight_force_on(void) |
diff --git a/apps/plugins/lib/helper.h b/apps/plugins/lib/helper.h index f2e9187a96..00ad8ac087 100644 --- a/apps/plugins/lib/helper.h +++ b/apps/plugins/lib/helper.h | |||
@@ -23,6 +23,8 @@ | |||
23 | 23 | ||
24 | #include "plugin.h" | 24 | #include "plugin.h" |
25 | 25 | ||
26 | int talk_val(long n, int unit, bool enqueue); | ||
27 | |||
26 | /** | 28 | /** |
27 | * Backlight on/off operations | 29 | * Backlight on/off operations |
28 | */ | 30 | */ |