summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index cc92b96c27..eb642313af 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -160,7 +160,7 @@ void screen_put_iconxy(struct screen * display,
if (xpos == 0)
xpos++;
-#if (LCD_DEPTH == 16) || (LCD_REMOTE_DEPTH == 16)
+#if (LCD_DEPTH == 16) || defined(LCD_REMOTE_DEPTH) && (LCD_REMOTE_DEPTH == 16)
if (display->depth == 16)
draw_func = display->transparent_bitmap_part;
else