summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index aa6b65a..57f836c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -122,7 +122,7 @@ static const struct plugin_api rockbox_api = {
|| defined (IRIVER_H10)
lcd_yuv_set_options,
#endif
-#elif (LCD_DEPTH < 4) || !defined(SIMULATOR)
+#elif (LCD_DEPTH < 4) && !defined(SIMULATOR)
lcd_blit_mono,
lcd_blit_grey_phase,
#endif /* LCD_DEPTH */
diff --git a/apps/plugin.h b/apps/plugin.h
index 1563ed3..cd42656 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -201,7 +201,7 @@ struct plugin_api {
|| defined (IRIVER_H10)
void (*lcd_yuv_set_options)(unsigned options);
#endif
-#elif (LCD_DEPTH < 4) || !defined(SIMULATOR)
+#elif (LCD_DEPTH < 4) && !defined(SIMULATOR)
void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width,
int bheight, int stride);
void (*lcd_blit_grey_phase)(unsigned char *values, unsigned char *phases,