diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 6eb1759b91..9cd8dfcdb0 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -107,6 +107,7 @@ static char* get_dir(char* buf, int buf_size, const char* path, int level) | |||
107 | return buf; | 107 | return buf; |
108 | } | 108 | } |
109 | 109 | ||
110 | #if (CONFIG_CODEC != MAS3507D) | ||
110 | /* A helper to determine the enum value for pitch/speed. | 111 | /* A helper to determine the enum value for pitch/speed. |
111 | 112 | ||
112 | When there are two choices (i.e. boolean), return 1 if the value is | 113 | When there are two choices (i.e. boolean), return 1 if the value is |
@@ -142,6 +143,7 @@ static int pitch_speed_enum(int range, int32_t val, int32_t normval) | |||
142 | n = (center * val) / normval + 1; | 143 | n = (center * val) / normval + 1; |
143 | return (range <= n) ? (range - 1) : n; | 144 | return (range <= n) ? (range - 1) : n; |
144 | } | 145 | } |
146 | #endif | ||
145 | 147 | ||
146 | /* Return the tag found at index i and write its value in buf. | 148 | /* Return the tag found at index i and write its value in buf. |
147 | The return value is buf if the tag had a value, or NULL if not. | 149 | The return value is buf if the tag had a value, or NULL if not. |