From 54b8e9131c8775777dfb3c76f308a97c49c55fd9 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Fri, 9 Apr 2021 01:47:10 +0100 Subject: Revert "sound: add sound_numdecimals() to round out the sound setting query API" There is already a sound_numdecimals() function, according to Git it's been around since 2005. No need to add another one :). This reverts commit 92a0ab8789c622afecc47f3b399eda8abf26ee9e. Change-Id: I533ebf1763dd7a27346842982493d4550f05ad7c --- firmware/sound.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/sound.c') diff --git a/firmware/sound.c b/firmware/sound.c index 2a423177a7..0f6994ee6a 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -98,11 +98,6 @@ 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; -- cgit v1.2.3