summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r--firmware/mp3_playback.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index 7d68976547..44a7eef666 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -61,7 +61,7 @@ static long cumulative_ticks;
61static void (*callback_for_more)(unsigned char**, int*); 61static void (*callback_for_more)(unsigned char**, int*);
62#endif /* #ifndef SIMULATOR */ 62#endif /* #ifndef SIMULATOR */
63 63
64static char *units[] = 64static const char* const units[] =
65{ 65{
66 "%", /* Volume */ 66 "%", /* Volume */
67 "dB", /* Bass */ 67 "dB", /* Bass */
@@ -81,7 +81,7 @@ static char *units[] =
81 "", /* Super bass */ 81 "", /* Super bass */
82}; 82};
83 83
84static int numdecimals[] = 84static const int numdecimals[] =
85{ 85{
86 0, /* Volume */ 86 0, /* Volume */
87 0, /* Bass */ 87 0, /* Bass */
@@ -101,7 +101,7 @@ static int numdecimals[] =
101 0, /* Super bass */ 101 0, /* Super bass */
102}; 102};
103 103
104static int steps[] = 104static const int steps[] =
105{ 105{
106 1, /* Volume */ 106 1, /* Volume */
107 1, /* Bass */ 107 1, /* Bass */
@@ -121,7 +121,7 @@ static int steps[] =
121 1, /* Super bass */ 121 1, /* Super bass */
122}; 122};
123 123
124static int minval[] = 124static const int minval[] =
125{ 125{
126 0, /* Volume */ 126 0, /* Volume */
127#ifdef HAVE_MAS3587F 127#ifdef HAVE_MAS3587F
@@ -146,7 +146,7 @@ static int minval[] =
146 0, /* Super bass */ 146 0, /* Super bass */
147}; 147};
148 148
149static int maxval[] = 149static const int maxval[] =
150{ 150{
151 100, /* Volume */ 151 100, /* Volume */
152#ifdef HAVE_MAS3587F 152#ifdef HAVE_MAS3587F
@@ -171,7 +171,7 @@ static int maxval[] =
171 1, /* Super bass */ 171 1, /* Super bass */
172}; 172};
173 173
174static int defaultval[] = 174static const int defaultval[] =
175{ 175{
176 70, /* Volume */ 176 70, /* Volume */
177#ifdef HAVE_MAS3587F 177#ifdef HAVE_MAS3587F
@@ -196,7 +196,7 @@ static int defaultval[] =
196 0, /* Super bass */ 196 0, /* Super bass */
197}; 197};
198 198
199char *mpeg_sound_unit(int setting) 199const char *mpeg_sound_unit(int setting)
200{ 200{
201 return units[setting]; 201 return units[setting];
202} 202}