summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index acf198da2e..71bdc25003 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -98,6 +98,11 @@ int sound_default(int setting)
return get_settings_info(setting)->defaultval;
}
+int sound_num_decimals(int setting)
+{
+ return get_settings_info(setting)->numdecimals;
+}
+
sound_set_type * sound_get_fn(int setting)
{
return get_setting_entry(setting)->function;