summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jpeg/jpeg.c')
-rw-r--r--apps/plugins/jpeg/jpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/jpeg/jpeg.c b/apps/plugins/jpeg/jpeg.c
index 82d9186298..649cca8288 100644
--- a/apps/plugins/jpeg/jpeg.c
+++ b/apps/plugins/jpeg/jpeg.c
@@ -122,13 +122,13 @@ static struct jpeg_settings old_settings;
122static struct configdata jpeg_config[] = 122static struct configdata jpeg_config[] =
123{ 123{
124#ifdef HAVE_LCD_COLOR 124#ifdef HAVE_LCD_COLOR
125 { TYPE_ENUM, 0, COLOUR_NUM_MODES, &jpeg_settings.colour_mode, 125 { TYPE_ENUM, 0, COLOUR_NUM_MODES, { .int_p = &jpeg_settings.colour_mode },
126 "Colour Mode", (char *[]){ "Colour", "Grayscale" }, NULL }, 126 "Colour Mode", (char *[]){ "Colour", "Grayscale" } },
127 { TYPE_ENUM, 0, DITHER_NUM_MODES, &jpeg_settings.dither_mode, 127 { TYPE_ENUM, 0, DITHER_NUM_MODES, { .int_p = &jpeg_settings.dither_mode },
128 "Dither Mode", (char *[]){ "None", "Ordered", "Diffusion" }, NULL }, 128 "Dither Mode", (char *[]){ "None", "Ordered", "Diffusion" } },
129#endif 129#endif
130 { TYPE_INT, SS_MIN_TIMEOUT, SS_MAX_TIMEOUT, &jpeg_settings.ss_timeout, 130 { TYPE_INT, SS_MIN_TIMEOUT, SS_MAX_TIMEOUT,
131 "Slideshow Time", NULL, NULL}, 131 { .int_p = &jpeg_settings.ss_timeout }, "Slideshow Time", NULL },
132}; 132};
133 133
134#if LCD_DEPTH > 1 134#if LCD_DEPTH > 1