diff options
| -rw-r--r-- | firmware/export/mas35xx.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/firmware/export/mas35xx.h b/firmware/export/mas35xx.h index baafcf1..a4e2413 100644 --- a/firmware/export/mas35xx.h +++ b/firmware/export/mas35xx.h @@ -24,15 +24,16 @@ #include "config.h" -#if CONFIG_CODEC != MAS3507D - +#if CONFIG_CODEC == MAS3507D +#define VOLUME_MIN -780 +#define VOLUME_MAX 180 +#else #define VOLUME_MIN -400 #define VOLUME_MAX 600 +#endif -#else /* CONFIG_CODEC == MAS3507D */ -#define VOLUME_MIN -780 -#define VOLUME_MAX 180 +#if CONFIG_CODEC == MAS3507D static const unsigned int bass_table[] = { |