summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-08-18 01:23:26 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2021-08-19 01:17:29 +0000
commit24e8fa317e9905ee30d195c4beedd7b8939ed6e1 (patch)
treeb1dbca81e43d045c2df6fa9848e3a5bb4e9d91e8 /apps/plugin.c
parent4cbb5b42010309677f3590e3a716c69c12e8adf2 (diff)
downloadrockbox-24e8fa317e9905ee30d195c4beedd7b8939ed6e1.tar.gz
rockbox-24e8fa317e9905ee30d195c4beedd7b8939ed6e1.zip
plugins trade talk_value for talk_value_decimal
talk_value is just talk_value_decimal with 0 decimals lets add the extended function instead static inline int talk_val(long n, int unit, bool enqueue) { #define NODECIMALS 0 return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue); } Change-Id: Iaba3d2f95785f2e1855e294ccf099a977bb6cb20
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a3970a88a7..4877c3d255 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -439,7 +439,7 @@ static const struct plugin_api rockbox_api = {
439 talk_file_or_spell, 439 talk_file_or_spell,
440 talk_dir_or_spell, 440 talk_dir_or_spell,
441 talk_number, 441 talk_number,
442 talk_value, 442 talk_value_decimal,
443 talk_spell, 443 talk_spell,
444 talk_time, 444 talk_time,
445 talk_date, 445 talk_date,