summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-14 12:48:56 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-07 14:38:54 -0400
commit213d372c929668417e7c89468a0adf284377b161 (patch)
tree4f4b9760fac4851dcdb9ae8bf738b1c7beee44e6 /firmware/sound.c
parentc5cf15ed02aefe4f2654ae6a0b7794733125b8d2 (diff)
downloadrockbox-213d372c929668417e7c89468a0adf284377b161.tar.gz
rockbox-213d372c929668417e7c89468a0adf284377b161.zip
FS#13272: Fix up volume_limit to respect decimilaztion.
Change-Id: Ib0e5ddcd660115f156ddb545e45bbe7da42f9709
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 6fe6115406..2a423177a7 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -54,7 +54,7 @@ static const struct sound_setting_entry * get_setting_entry(int setting)
{ "", 0, 0, 0, 0, 0 };
static const struct sound_setting_entry default_entry =
- { &default_info, NULL };
+ { &default_info, NULL };
if ((unsigned)setting >= ARRAYLEN(sound_setting_entries))
return &default_entry;
@@ -120,7 +120,7 @@ int sound_current(int setting)
{
switch(setting)
{
-#ifndef BOOTLOADER
+#ifndef BOOTLOADER
#ifndef PLATFORM_HAS_VOLUME_CHANGE
SOUND_CUR_SET(VOLUME, global_settings.volume)
#endif