summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 51b7c08e13..5d9ca7265b 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -196,8 +196,15 @@ int sound_current(int setting)
#endif /*IF 0*/
#endif /*ndef BOOTLOADER*/
+#ifdef INT_MIN
default:
return INT_MIN;
+#else
+ default:
+ return -32768;
+#endif
+
+
} /* switch(setting) */
}/* sound_current */