diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-08-18 21:30:13 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-08-18 21:30:13 -0400 |
commit | 0679faf65deabafc0ebd0f01f5f90c3f4bc9d065 (patch) | |
tree | da0d1f4a6d546e17454c406b5e6cdbb7cb3ca0ea /apps/plugins/lib/helper.c | |
parent | 24e8fa317e9905ee30d195c4beedd7b8939ed6e1 (diff) |
lib/helper add talk_val()
talk_value_decimal() replaced talk_value()
Change-Id: Ibb7c738d6f3b399fab2e771d8ab85967e3af96d1
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 f36c01b23e..018c1616c8 100644 --- a/apps/plugins/lib/helper.c +++ b/apps/plugins/lib/helper.c @@ -22,6 +22,12 @@ #include "plugin.h" #include "helper.h" +int talk_val(long n, int unit, bool enqueue) +{ + #define NODECIMALS 0 + return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue); +} + #ifdef HAVE_BACKLIGHT /* Force the backlight on */ void backlight_force_on(void) |