diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index aa6b65a34a..57f836c5d2 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -122,7 +122,7 @@ static const struct plugin_api rockbox_api = { | |||
122 | || defined (IRIVER_H10) | 122 | || defined (IRIVER_H10) |
123 | lcd_yuv_set_options, | 123 | lcd_yuv_set_options, |
124 | #endif | 124 | #endif |
125 | #elif (LCD_DEPTH < 4) || !defined(SIMULATOR) | 125 | #elif (LCD_DEPTH < 4) && !defined(SIMULATOR) |
126 | lcd_blit_mono, | 126 | lcd_blit_mono, |
127 | lcd_blit_grey_phase, | 127 | lcd_blit_grey_phase, |
128 | #endif /* LCD_DEPTH */ | 128 | #endif /* LCD_DEPTH */ |
diff --git a/apps/plugin.h b/apps/plugin.h index 1563ed3aec..cd426564ba 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -201,7 +201,7 @@ struct plugin_api { | |||
201 | || defined (IRIVER_H10) | 201 | || defined (IRIVER_H10) |
202 | void (*lcd_yuv_set_options)(unsigned options); | 202 | void (*lcd_yuv_set_options)(unsigned options); |
203 | #endif | 203 | #endif |
204 | #elif (LCD_DEPTH < 4) || !defined(SIMULATOR) | 204 | #elif (LCD_DEPTH < 4) && !defined(SIMULATOR) |
205 | void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width, | 205 | void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width, |
206 | int bheight, int stride); | 206 | int bheight, int stride); |
207 | void (*lcd_blit_grey_phase)(unsigned char *values, unsigned char *phases, | 207 | void (*lcd_blit_grey_phase)(unsigned char *values, unsigned char *phases, |