summaryrefslogtreecommitdiff
path: root/apps/gui/wps_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r--apps/gui/wps_parser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index ef9d446444..07a1df64ac 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -40,24 +40,24 @@
40 40
41/* level of current conditional. 41/* level of current conditional.
42 -1 means we're not in a conditional. */ 42 -1 means we're not in a conditional. */
43int level = -1; 43static int level = -1;
44 44
45/* index of the last WPS_TOKEN_CONDITIONAL_OPTION 45/* index of the last WPS_TOKEN_CONDITIONAL_OPTION
46 or WPS_TOKEN_CONDITIONAL_START in current level */ 46 or WPS_TOKEN_CONDITIONAL_START in current level */
47int lastcond[WPS_MAX_COND_LEVEL]; 47static int lastcond[WPS_MAX_COND_LEVEL];
48 48
49/* index of the WPS_TOKEN_CONDITIONAL in current level */ 49/* index of the WPS_TOKEN_CONDITIONAL in current level */
50int condindex[WPS_MAX_COND_LEVEL]; 50static int condindex[WPS_MAX_COND_LEVEL];
51 51
52/* number of condtional options in current level */ 52/* number of condtional options in current level */
53int numoptions[WPS_MAX_COND_LEVEL]; 53static int numoptions[WPS_MAX_COND_LEVEL];
54 54
55#ifdef HAVE_LCD_BITMAP 55#ifdef HAVE_LCD_BITMAP
56/* pointers to the bitmap filenames in the WPS source */ 56/* pointers to the bitmap filenames in the WPS source */
57const char *bmp_names[MAX_IMAGES]; 57static const char *bmp_names[MAX_IMAGES];
58const char *pb_bmp_name; 58static const char *pb_bmp_name;
59#if LCD_DEPTH > 1 59#if LCD_DEPTH > 1
60const char *backdrop_bmp_name; 60static const char *backdrop_bmp_name;
61#endif 61#endif
62#endif 62#endif
63 63
@@ -185,7 +185,7 @@ static const struct wps_tag all_tags[] = {
185 { "Iy", WPS_TOKEN_METADATA_YEAR, WPS_REFRESH_DYNAMIC, NULL }, 185 { "Iy", WPS_TOKEN_METADATA_YEAR, WPS_REFRESH_DYNAMIC, NULL },
186 { "IC", WPS_TOKEN_METADATA_COMMENT, WPS_REFRESH_DYNAMIC, NULL }, 186 { "IC", WPS_TOKEN_METADATA_COMMENT, WPS_REFRESH_DYNAMIC, NULL },
187 187
188#if (CONFIG_CODEC == SWCODEC) 188#if (CONFIG_CODEC != MAS3507D)
189 { "Sp", WPS_TOKEN_SOUND_PITCH, WPS_REFRESH_DYNAMIC, NULL }, 189 { "Sp", WPS_TOKEN_SOUND_PITCH, WPS_REFRESH_DYNAMIC, NULL },
190#endif 190#endif
191 191