summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c2
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 6eb1759..9cd8dfc 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)
return buf;
}
+#if (CONFIG_CODEC != MAS3507D)
/* A helper to determine the enum value for pitch/speed.
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)
n = (center * val) / normval + 1;
return (range <= n) ? (range - 1) : n;
}
+#endif
/* Return the tag found at index i and write its value in buf.
The return value is buf if the tag had a value, or NULL if not.